Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
6d092ea3
Commit
6d092ea3
authored
Aug 01, 2017
by
Martin Schultz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't run ctest in dashboard mode anymore for easier location of log
files
parent
295dc867
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
18 deletions
+3
-18
tests/run_tests.bat
tests/run_tests.bat
+2
-16
tests/run_tests.sh
tests/run_tests.sh
+1
-2
No files found.
tests/run_tests.bat
View file @
6d092ea3
...
...
@@ -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
tests/run_tests.sh
View file @
6d092ea3
...
...
@@ -12,8 +12,7 @@ if [ $(uname) == Darwin ]; then
CTEST_BINARY
=
/opt/local/bin/ctest
fi
$CTEST_BINARY
-D
ExperimentalTest
--no-compress-output
$CTEST_BINARY
--no-compress-output
ERRORLEVEL
=
$?
cp
Testing/
`
head
-n
1 Testing/TAG
`
/Test.xml CTestResults.xml
exit
$ERRORLEVEL
\ No newline at end of file
Write
Preview
Markdown
is supported
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