Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 21ae47ce authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED do not try to rerun failed test

It seems that the "--rerun-failed" option has some bug
see for instance https://gitlab.kitware.com/cmake/cmake/issues/17767
and https://gitlab.kitware.com/cmake/cmake/issues/16314
parent 1b4d89b4
......@@ -46,23 +46,22 @@ ctest -VV \
-DCTEST_BINARY_DIRECTORY="$PROJECT_BUILD_DIR" \
-S $PROJECT_SOURCE_DIR/sdk/cmake/ctest/ci-test.cmake > >(tee --append ${PROJECT_LOG_DIR}/test.log | grep --line-buffered -e "Test \#") 2>&1
# Rerun just the failed tests
# There seems to be a bug in CMake, disabling rerun for Win32 plateform
# Rerun only the failed tests
# There seems to be a bug in CMake, disabling for now
# see https://gitlab.kitware.com/cmake/cmake/issues/17767
if [[ "$OS" != "win7" ]]; then
echo "===== Re-running failed tests ====="
ctest -VV \
--rerun-failed \
-DCTEST_SITE="$CDASH_SITE" \
-DCI_MODE="$CAMITK_CI_MODE" \
-DCI_ID="P $CI_PIPELINE_ID - J $CI_BUILD_ID" \
-DCI_BRANCH="$CI_COMMIT_REF_NAME" \
-DCI_BUILD_SETTINGS="$COMPILER_CONFIG" \
-DCI_PROJECT_LOG_DIRECTORY="$CI_PROJECT_DIR/$PROJECT_LOG_DIR" \
-DCTEST_SOURCE_DIRECTORY="$PROJECT_SOURCE_DIR" \
-DCTEST_BINARY_DIRECTORY="$PROJECT_BUILD_DIR" \
-S $PROJECT_SOURCE_DIR/sdk/cmake/ctest/ci-test.cmake > >(tee --append ${PROJECT_LOG_DIR}/test.log | grep --line-buffered -e "Test \#") 2>&1
fi
# and https://gitlab.kitware.com/cmake/cmake/issues/16314
# echo "===== Re-running failed tests ====="
# ctest -VV \
# --rerun-failed \
# -DCTEST_SITE="$CDASH_SITE" \
# -DCI_MODE="$CAMITK_CI_MODE" \
# -DCI_ID="P $CI_PIPELINE_ID - J $CI_BUILD_ID" \
# -DCI_BRANCH="$CI_COMMIT_REF_NAME" \
# -DCI_BUILD_SETTINGS="$COMPILER_CONFIG" \
# -DCI_PROJECT_LOG_DIRECTORY="$CI_PROJECT_DIR/$PROJECT_LOG_DIR" \
# -DCTEST_SOURCE_DIRECTORY="$PROJECT_SOURCE_DIR" \
# -DCTEST_BINARY_DIRECTORY="$PROJECT_BUILD_DIR" \
# -S $PROJECT_SOURCE_DIR/sdk/cmake/ctest/ci-test.cmake > >(tee --append ${PROJECT_LOG_DIR}/test.log | grep --line-buffered -e "Test \#") 2>&1
# if [[ "$OS" != "win7" ]]; then
# # shutdown xvfb
......
......@@ -12,9 +12,9 @@ camitk_extension(COMPONENT_EXTENSION
# --- Specific test management ---
# --------------------------------
camitk_disable_tests(TESTS component-itkimage-level3-9
camitk_disable_tests(TESTS component-itkimage-level3-3
component-itkimage-level3-9
component-itkimage-level3-10
component-itkimage-level3-3
component-itkimage-level3-19
component-itkimage-level3-20
REASON " Test failure due to ITK exception.
......
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