commit | 7d47864233a89b137af2618f202fc8f1a2d1d6eb | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Fri Nov 22 17:38:11 2019 +0100 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Thu Nov 28 17:05:50 2019 +0100 |
tree | dc64e423e9d075fc408729aaf7c66a00abc60e26 | |
parent | 739183c8610472766d57cbbe6c2a3112ed7b6f8c [diff] |
Improve ctest logic Firstly, as there will be more datastore tests, sysrepo.cpp had to be changed to something different. The overall logic for the datastore tests had to be changed. Now, all datastore tests depend on the start_daemons (using fixtures). This means that even if one starts the `test_setting_values_sysrepo` test, it always runs start_daemons (the previous config only ensured, that start_daemons ran before the datastore tests). The actual datastore test creation was also refactored to a function. This ensures that both sysrepo and netconf versions of the test will get created. Change-Id: Id74c9671802ed746d44f33ba0026eb81a1594e2a
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.