Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Heng Liu
OpenFlipper
Commits
8e4a4c39
Commit
8e4a4c39
authored
Aug 01, 2017
by
Martin Schultz
Browse files
dont run ctest in dashboard mode on windows
parent
3830a412
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/run_tests.bat
View file @
8e4a4c39
...
...
@@ -11,20 +11,6 @@ REM Delete old test result collection generated by ctest
del
/Q
CTestResults
.xml
REM Run the tests
ctest
-D
ExperimentalTest
-C
Release
--no-compress-output
ctest
-C
Release
--no-compress-output
IF
%errorlevel%
NEQ
0
exit
/b
%errorlevel%
REM Call head on the TAG to get the current folder where the test results are
FOR
/F
"tokens=1 delims= "
%%i
IN
(
'tests\head.bat 1 Testing\TAG'
)
DO
@set
result
=
%%i
REM Go into that folder
cd
Testing
cd
%result%
REM copy generated xml results file to the location where jenkins expects it
copy
/Y
Test
.xml ..\..\CTestResults.xml
REM Go back to start directory
REM cd ..
REM cd ..
IF
%errorlevel%
NEQ
0
exit
/b
%errorlevel%
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment