File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -575,6 +575,15 @@ if (ENABLE_TESTS)
575
575
# For server side testing we have no X, we can use xvfb as a fake x
576
576
# sudo apt-get install xvfb
577
577
add_custom_target (check COMMAND xvfb-run --server-args=-screen\ 0\ 1024x768x24 ctest --output-on-failure )
578
+
579
+ # Define SOURCETREE fixture
580
+ add_test (NAME logGitStatus COMMAND ${CMAKE_CURRENT_SOURCE_DIR} /scripts/chkgitstatus.sh log )
581
+ add_test (NAME checkGitStatus COMMAND ${CMAKE_CURRENT_SOURCE_DIR} /scripts/chkgitstatus.sh check )
582
+ set_tests_properties (logGitStatus PROPERTIES FIXTURES_SETUP SOURCETREE )
583
+ set_property (TEST logGitStatus PROPERTY SKIP_RETURN_CODE 2 )
584
+ set_tests_properties (checkGitStatus PROPERTIES FIXTURES_CLEANUP SOURCETREE )
585
+ set_property (TEST checkGitStatus PROPERTY SKIP_RETURN_CODE 2 )
586
+
578
587
endif ()
579
588
580
589
if (WITH_CORE )
You can’t perform that action at this time.
0 commit comments