Skip to content

Commit

Permalink
Add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
aurianer committed Sep 27, 2024
1 parent f23740b commit b68104f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitlab/scripts/prepare_and_launch_perftests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@

set -eux

#TODO: check that SOURCE_DIR and BUILD_DIR are defined in the spack build env, otherwise redefine them there

# Computes the status of the job and store the artifacts
status_computation_and_artifacts_storage() {
ctest_exit_code=$?
ctest_status=$((ctest_exit_code + configure_build_errors + test_errors + plot_errors))

# TODO: build_dir and src_dir are not defined yet
# Copy the testing directory for saving as an artifact
cp -r "${build_dir}/Testing" "${orig_src_dir}/${configuration_name}-Testing"
cp -r "${build_dir}/reports" "${orig_src_dir}/${configuration_name}-reports"
Expand All @@ -23,6 +26,7 @@ status_computation_and_artifacts_storage() {

trap "status_computation_and_artifacts_storage" EXIT

# TODO: check that SRC_DIR is defined, define build_dir or take the one from spack
# Variables
perftests_dir=${SRC_DIR}/tools/perftests_ci

Expand Down

0 comments on commit b68104f

Please sign in to comment.