Skip to content

Commit

Permalink
pass down --generic to script used for running test suite, so tests a…
Browse files Browse the repository at this point in the history
…re run with generic software installations when intended
  • Loading branch information
boegel authored Mar 26, 2024
1 parent 8d05473 commit c53f578
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ source ${base_dir}/init/eessi_defaults
./run_in_compat_layer_env.sh "git clone https://github.com/EESSI/test-suite EESSI-test-suite"

# Run the test suite
./test_suite.sh
./test_suite.sh "$@"
9 changes: 4 additions & 5 deletions test_suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ POSITIONAL_ARGS=()
while [[ $# -gt 0 ]]; do
case $1 in
-g|--generic)
EASYBUILD_OPTARCH="GENERIC"
DETECTION_PARAMETERS="--generic"
shift
;;
-h|--help)
Expand Down Expand Up @@ -75,10 +75,9 @@ TMPDIR=$(mktemp -d)

echo ">> Setting up environment..."
module --force purge
# Make sure defaults are set for EESSI_CVMFS_REPO and EESSI_VERSION, before initializing EESSI
source $TOPDIR/init/eessi_defaults
# Initialize EESSI
source ${EESSI_CVMFS_REPO}/versions/${EESSI_VERSION}/init/bash
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=$(python3 $TOPDIR/eessi_software_subdir.py $DETECTION_PARAMETERS)

source $TOPDIR/init/bash

# Load the ReFrame module
# Currently, we load the default version. Maybe we should somehow make this configurable in the future?
Expand Down

0 comments on commit c53f578

Please sign in to comment.