commit | d5469a32f91f22e4cdaffab240cbb47e69e4ef4b | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Fri Nov 03 04:08:38 2023 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Fri Nov 03 04:09:46 2023 +0100 |
tree | 48ff3dd0ea12f131d7462409acd98fc50cdd75b0 | |
parent | 141ecb5bab0f7d891e04d85de15d1cc301dfe207 [diff] |
tests: rely on doctest+trompeloeil integration from upstream There's been a behavior change in doctest 2.8.9 which changed how strings are printed. This was fixed in Trompeloeil v43. Unfortunately, we were bundling that one trivial file that sends error info from Trompeloeil to Doctest, and that means that we were not getting the fix from Trompeloeil. As a result, failed expectations were printed as a pointer instead of the usual useful text. Why did we bundle this? That's an excellent question. It goes back to cla-sysrepo and pre-doctest days. It appears to have been introduced back when we switched from Catch v1 to Catch v2 in cla-sysrepo's commit 59cc09af22899579a354c2ab1c6ae2f1ae40ac2d. That in itself was just a modification to something from cla-sysrepo commit 321a3424a179e41df7bb43d101cf853993ef1c00 which refers to the upstream wiki. Chances are that they were not providing the `$UnitTestFramework/trompeloeil.hpp` file, so we might have had to copy-paste like that. Seven years later, let's just make our lives easier. Bug: https://github.com/rollbear/trompeloeil/issues/279 Change-Id: I926951e106c8b2aa4eb5eb8e3481e046021ddcde
This program provides an interactive console for working with YANG data. It can connect to NETCONF servers, work as a standalone YANG data editor, or talk to sysrepo locally.
For building, one needs:
1.78
)At times the devel
branch of libyang
, sysrepo
, libnetconf2
and Netopeer2
might be required due to fresh bugfixes and behavior changes.
The build process uses CMake. A quick-and-dirty build with no fancy options can be as simple as mkdir build && cd build && cmake .. && make && make install
.
Issue reporting and feature requests are welcome via Taiga.io.
We are using Gerrit for patch submission, code review and Continuous Integration (CI). A quick introduction is recommended for first-time Gerrit users. Choose CESNET - Sign in with GitHub for login. Development roadmap and planning happens over Taiga.io.
Copyright © CESNET, https://www.cesnet.cz/ . Portions copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Most of the code was written by Václav Kubernát (CESNET, formerly FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.