Commit fa2977ae authored by Emmanuel Promayon's avatar Emmanuel Promayon

UPDATED check when there is a real error + output less verbose

parent efe36dc3
......@@ -103,8 +103,7 @@ if grep --quiet "Fatal error" $CI_PROJECT_DIR/$PROJECT_LOG_DIR/ci-test.log; then
-DCTEST_SOURCE_DIRECTORY="$PROJECT_SOURCE_DIR" \
-DCTEST_BINARY_DIRECTORY="$PROJECT_BUILD_DIR" \
-DRERUN_TESTNAME=$testname \
-S $PROJECT_SOURCE_DIR/sdk/cmake/ctest/ci-rerun.cmake
## > >(tee --append ${PROJECT_LOG_DIR}/rerun-test.log | grep --line-buffered -e "Test \#") 2>&1
-S $PROJECT_SOURCE_DIR/sdk/cmake/ctest/ci-rerun.cmake > >(tee --append ${PROJECT_LOG_DIR}/rerun-test.log | grep --line-buffered -e "Test \#") 2>&1
done
if grep --quiet "\*\*\*Failed" $CI_PROJECT_DIR/$PROJECT_LOG_DIR/rerun-test.log; then
echo
......
......@@ -22,7 +22,9 @@ set -e
# values to check
initTestData() {
# fill test data
extensionCount=( [4.2]=41 [4.1]=41 [4.0]=31 )
# Introduce a fake real error to check new CI test script
#extensionCount=( [4.2]=41 [4.1]=41 [4.0]=31 )
extensionCount=( [4.2]=42 [4.1]=41 [4.0]=31 )
componentExtensionCount=( [4.2]=14 [4.1]=14 [4.0]=14 )
actionExtensionCount=( [4.2]=27 [4.1]=27 [4.0]=27 )
fileExtensionCount=( [4.2]=37 [4.1]=37 [4.0]=37 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment