CESNET / libyang-cpp

C++ bindings for the libyang library
https://gerrit.cesnet.cz/q/project:CzechLight/libyang-cpp
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

data_node.cpp test failure with libyang 2.1.76 #8

Closed irfanHaslanded closed 1 year ago

irfanHaslanded commented 1 year ago

Are the tests failing currently for libyang-cpp with latest libyang v2.1.76?


TEST CASE:  Data Node manipulation

DEEPEST SUBCASE STACK REACHED (DIFFERENT FROM THE CURRENT ONE):
  anyxml
  XML
  Context::newPath2

libyang-cpp/tests/data_node.cpp:116: ERROR: test case THREW exception: std::get: wrong index for variant

===============================================================================
[doctest] test cases:   1 |   0 passed | 1 failed | 0 skipped
syyyr commented 1 year ago

It seems that libyang-cpp has already been ported to libyang v2.1.76 in 4014af0. Are you using the latest master branch of libyang-cpp? If not, please try running the tests with the newest version.