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
3 files changed
tree: 48ff3dd0ea12f131d7462409acd98fc50cdd75b0
  1. .clang-format
  2. .gitmodules
  3. .zuul.yaml
  4. CMakeLists.txt
  5. Doxyfile.in
  6. LICENSE
  7. README.md
  8. ci/
  9. cmake/
  10. docs/
  11. src/
  12. tests/
README.md

Console interface to NETCONF servers

License Gerrit Zuul CI taiga.io

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.

Installation

For building, one needs:

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.

Bug Reporting

Issue reporting and feature requests are welcome via Taiga.io.

Development

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.

Credits

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.