Commit c6719363 authored by Emmanuel Promayon's avatar Emmanuel Promayon

NEW possibility to override stage in ci-test

+fixed typo in comment
parent 9a105c9b
......@@ -142,7 +142,7 @@ set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND} -DCEP_IMAGING=TRUE -DCEP
include("${CTEST_SOURCE_DIRECTORY}/CTestConfig.cmake")
# append only if not a configure stage (at configure stage a new timestamp should be generated)
if (NOT ${CI_STAGE} MATCHES "Configure")
if (NOT ${CI_STAGE} MATCHES "Configure")
set(CI_APPEND "APPEND")
endif()
......
......@@ -15,13 +15,13 @@
# -DCI_MODE="$CAMITK_CI_MODE" \
# -DCI_ID="$CAMITK_CI_ID" \
# -DCI_BRANCH=$CAMITK_CI_BRANCH \
# -DCI_BUILD_SETTINGS="$COMPILER_CONFIG" \
# -DCI_BUILD_SETTINGS="$CAMITK_BUILD_SETTINGS" \
# -DCTEST_SOURCE_DIRECTORY="$CAMITK_SOURCE_DIR" \
# -DCTEST_BINARY_DIRECTORY="$CAMITK_BUILD_DIR" \
# -S $CAMITK_SOURCE_DIR/sdk/cmake/ctest/ci-test.cmake > test.log 2>&1
#
# It will submit a new report in the "configure" section of the dashboard
# identified as $SITE and $COMPILER_CONFIG.
# identified as $SITE and $CAMITK_BUILD_SETTINGS.
#
# What this script does ?
# 1. INFORMATION STEP
......@@ -30,7 +30,9 @@
# 2. RUN TEST
# Run test for each CAMITK_TARGET of CamiTK
set(CI_STAGE "Test")
if (NOT CI_STAGE)
set(CI_STAGE "Test")
endif()
# ------------------------ STEP 1: information step ------------------------
include("${CTEST_SOURCE_DIRECTORY}/sdk/cmake/ctest/ci-setup.cmake")
......
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