commit | 883248101808e190403ffe592e01c71643c7a286 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Wed Jun 26 17:36:29 2019 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Tue Sep 03 17:52:09 2019 +0200 |
tree | 51e2864d1f43d937bdc73e50f89978b2d819ab1c | |
parent | 77d9f61a3d3c9fe13b14564d3e960db6c060bcf5 [diff] |
Move sysrepo test preparations out of the cpp file Setting up tests using calls to system() is not good, because ctest doesn't know which tests can be parallelized. This change moves test preparations outside of the cpp files and makes use of fixtures for setup and cleanup tests. The tests/sysrepoctl-manage-module.sh script comes from cla-sysrepo, commit d39cc7797ea371e90711ee0ed317cadc91c8368e Change-Id: I7d6edd2988321dbc58b0b0520f088ee018742e31
Copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Copyright © CESNET, https://www.cesnet.cz/ . Most of the code was written by Václav Kubernát (FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.