less noise in appveyor.yml

This commit is contained in:
jkriege2 2024-01-26 19:55:26 +01:00
parent 69e8cdf1fa
commit 63a49ef94b

View File

@ -173,13 +173,9 @@ for:
- cmd: if %USE_CMAKE%==true echo == RUNNING UNIT TESTS FOR JKQtPlotter CMAKE BUILD =============================================== - cmd: if %USE_CMAKE%==true echo == RUNNING UNIT TESTS FOR JKQtPlotter CMAKE BUILD ===============================================
- cmd: if %USE_CMAKE%==true cd %APPVEYOR_BUILD_FOLDER% - cmd: if %USE_CMAKE%==true cd %APPVEYOR_BUILD_FOLDER%
- cmd: if %USE_CMAKE%==true cd build - cmd: if %USE_CMAKE%==true cd build
- cmd: if %USE_CMAKE%==true dir *.*
- cmd: if %USE_CMAKE%==true dir Testing\*.*
- cmd: if %USE_CMAKE%==true ctest --version - cmd: if %USE_CMAKE%==true ctest --version
- cmd: if %USE_CMAKE%==true ctest --print-labels --build-config "%CONFIGURATION%" - cmd: if %USE_CMAKE%==true ctest --print-labels --build-config "%CONFIGURATION%"
- cmd: if %USE_CMAKE%==true ctest --build-config "%CONFIGURATION%" -VV --output-on-failure --output-junit %APPVEYOR_BUILD_FOLDER%\build\test-results.xml - cmd: if %USE_CMAKE%==true ctest --build-config "%CONFIGURATION%" -VV --output-on-failure --output-junit %APPVEYOR_BUILD_FOLDER%\build\test-results.xml
- cmd: if %USE_CMAKE%==true dir *.*
- cmd: if %USE_CMAKE%==true dir Testing\*.*
after_test: after_test:
@ -306,15 +302,9 @@ for:
echo == RUNNING UNIT TESTS FOR JKQtPlotter CMAKE BUILD =============================================== echo == RUNNING UNIT TESTS FOR JKQtPlotter CMAKE BUILD ===============================================
cd $APPVEYOR_BUILD_FOLDER cd $APPVEYOR_BUILD_FOLDER
cd build cd build
ls -l *.*
ls -l Testing/*
ls -l Testing/*.*
ctest --version ctest --version
ctest --print-labels --build-config "$CONFIGURATION" ctest --print-labels --build-config "$CONFIGURATION"
ctest --build-config "$CONFIGURATION" -VV --output-on-failure --output-junit test-results.xml ctest --build-config "$CONFIGURATION" -VV --output-on-failure --output-junit test-results.xml
ls -l *.*
ls -l Testing/*
ls -l Testing/*.*
fi fi
after_test: after_test:
- find "$APPVEYOR_BUILD_FOLDER" -type f -name 'test-results.xml' -print0 | xargs -0 -I '{}' curl -F 'file=@{}' "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID" - find "$APPVEYOR_BUILD_FOLDER" -type f -name 'test-results.xml' -print0 | xargs -0 -I '{}' curl -F 'file=@{}' "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID"
@ -375,15 +365,9 @@ for:
echo == RUNNING UNIT TESTS FOR JKQtPlotter CMAKE BUILD =============================================== echo == RUNNING UNIT TESTS FOR JKQtPlotter CMAKE BUILD ===============================================
cd $APPVEYOR_BUILD_FOLDER cd $APPVEYOR_BUILD_FOLDER
cd build cd build
ls -l *.*
ls -l Testing/*
ls -l Testing/*.*
ctest --version ctest --version
ctest --print-labels --build-config "$CONFIGURATION" ctest --print-labels --build-config "$CONFIGURATION"
ctest --build-config "$CONFIGURATION" -VV --output-on-failure --output-junit test-results.xml ctest --build-config "$CONFIGURATION" -VV --output-on-failure --output-junit test-results.xml
ls -l *.*
ls -l Testing/*
ls -l Testing/*.*
fi fi
after_test: after_test:
- find "$APPVEYOR_BUILD_FOLDER" -type f -name 'test-results.xml' -print0 | xargs -0 -I '{}' curl -F 'file=@{}' "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID" - find "$APPVEYOR_BUILD_FOLDER" -type f -name 'test-results.xml' -print0 | xargs -0 -I '{}' curl -F 'file=@{}' "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID"