Skip to content

Commit 70d5c02

Browse files
committed
ci: rename max test execution time variable in build jobs
1 parent b9b565e commit 70d5c02

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.gitlab/ci/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ variables:
114114
FORCE_DEBUG_INFO: "" # Empty for cmake default
115115
AUTO_DETECT_ISA: ""
116116
# TEST
117-
CTEST_TIMEOUT: 0
117+
TEST_EXECUTION_TIMEOUT: 0
118118
# CI
119119
SAVE_ARTIFACTS: "" # Empty by default
120120
KUBERNETES_CPU_REQUEST: 6
@@ -273,7 +273,7 @@ variables:
273273
echo "============================================================================================="
274274
275275
status_file=$(mktemp)
276-
timeout ${CTEST_TIMEOUT} \
276+
timeout ${TEST_EXECUTION_TIMEOUT} \
277277
bash -c "${CTEST_CMD} && echo 0 > ${status_file} || echo 1 > ${status_file}" \
278278
&& ret=$(cat ${status_file}) || ret=124
279279
@@ -709,7 +709,7 @@ valgrind changed tests:
709709
variables:
710710
CLEAN_BUILD: "False"
711711
FINGERPRINT: "fingerprints.csv"
712-
CTEST_TIMEOUT: 20m
712+
TEST_EXECUTION_TIMEOUT: 20m
713713
SAVE_ARTIFACTS: "True"
714714
script:
715715
- git config advice.detachedHead false
@@ -729,7 +729,7 @@ valgrind changed tests:
729729
echo "##################################################"
730730
git checkout origin/$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
731731
build_srsgnb
732-
- echo "This test execution has a timeout of ${CTEST_TIMEOUT}. If the execution excess that timer, the job will be marked as allowed_to_fail. This will avoid the job to have a huge duration in a MR pipeline."
732+
- echo "This test execution has a timeout of ${TEST_EXECUTION_TIMEOUT}. If the execution excess that timer, the job will be marked as allowed_to_fail. This will avoid the job to have a huge duration in a MR pipeline."
733733
- launch_tests
734734
cache:
735735
- !reference [.fetch_src_cache, cache]

0 commit comments

Comments
 (0)