diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-12-19 14:37:50 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-12-19 14:38:10 +0100 |
commit | 95f60666c715d7f3f2e2078f3f6b0edeb75eb441 (patch) | |
tree | 0efeefae54f3a7c04bff251817fbed244348461c /tests/kubetestrunner.cpp | |
parent | e4fd2d8491e576f72b16b315f47ff151cb0f17eb (diff) | |
download | kube-95f60666c715d7f3f2e2078f3f6b0edeb75eb441.tar.gz kube-95f60666c715d7f3f2e2078f3f6b0edeb75eb441.zip |
Use a separate sink test environment
Otherwise the systems sink config and data is used.
Diffstat (limited to 'tests/kubetestrunner.cpp')
-rw-r--r-- | tests/kubetestrunner.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/kubetestrunner.cpp b/tests/kubetestrunner.cpp index c114c5fd..bb8fb242 100644 --- a/tests/kubetestrunner.cpp +++ b/tests/kubetestrunner.cpp | |||
@@ -1,2 +1,10 @@ | |||
1 | #include <QtQuickTest/quicktest.h> | 1 | #include <QtQuickTest/quicktest.h> |
2 | QUICK_TEST_MAIN("kube") | 2 | #include <sink/test.h> |
3 | |||
4 | int main(int argc, char **argv) | ||
5 | { | ||
6 | Sink::Test::initTest(); | ||
7 | QTEST_ADD_GPU_BLACKLIST_SUPPORT | ||
8 | QTEST_SET_MAIN_SOURCE_PATH | ||
9 | return quick_test_main(argc, argv, "kubetest", 0); | ||
10 | } | ||