Skip to content

Commit

Permalink
Set CTEST_CHANGE_ID, CTEST_UPDATE_VERSION_ONLY, and CTEST_DO_UPDATES=…
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlettroscoe committed Jul 27, 2021
1 parent 9345d53 commit 204a609
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ include("${CMAKE_CURRENT_LIST_DIR}/../TribitsProjCTestDriver.cmake")
set(CTEST_BUILD_NAME $ENV{CTEST_BUILD_NAME})

set(CTEST_TEST_TIMEOUT 60)
set(CTEST_DO_UPDATES OFF)
set(CTEST_DO_UPDATES TRUE)
set(CTEST_UPDATE_VERSION_ONLY TRUE)
set_default_and_from_env(CTEST_BUILD_FLAGS "-j2")
set_default_and_from_env(CTEST_PARALLEL_LEVEL "2")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ if [[ "${GITHUB_EVENT_PATH}" != "" ]] ; then
echo "pull_number = '${pull_number}'"
if [[ "${pull_number}" != "null" ]] ; then
export CTEST_BUILD_NAME="pr-${pull_number}_${CTEST_BUILD_NAME}${CTEST_BUILD_NAME_SUFFIX}"
export CTEST_CHANGE_ID=${pull_number}
fi
fi
echo "CTEST_BUILD_NAME = '${CTEST_BUILD_NAME}'"
Expand Down Expand Up @@ -206,7 +207,6 @@ export TriBITS_TRACK
echo "CTEST_TEST_TYPE = '${CTEST_TEST_TYPE}'"
echo "TriBITS_TRACK = '${TriBITS_TRACK}'"


#
# C) Run the local configure, build, test and submit using exported vars above
#
Expand Down

0 comments on commit 204a609

Please sign in to comment.