Avoid running CLI and connector tests in parallel
* Fix the test execution when parallel ctest jobs are configured via e.g. `CTEST_PARALLEL_LEVEL` * See https://github.com/Martchus/syncthingtray/issues/116
This commit is contained in:
parent
09d5c5589e
commit
6c23bb6e82
|
@ -43,3 +43,8 @@ include(TestTarget)
|
||||||
include(ShellCompletion)
|
include(ShellCompletion)
|
||||||
include(Doxygen)
|
include(Doxygen)
|
||||||
include(ConfigHeader)
|
include(ConfigHeader)
|
||||||
|
|
||||||
|
# avoid running this test in parallel with other tests as it interferes with the connector test
|
||||||
|
if (META_MAIN_TEST_NAME)
|
||||||
|
set_tests_properties("${META_MAIN_TEST_NAME}" PROPERTIES RUN_SERIAL TRUE)
|
||||||
|
endif ()
|
||||||
|
|
Loading…
Reference in New Issue