diff --git a/tests/c++-compiler/test.sh b/tests/c++-compiler/test.sh index 3a78fdd..ba1b195 100755 --- a/tests/c++-compiler/test.sh +++ b/tests/c++-compiler/test.sh @@ -39,6 +39,10 @@ swap_env() { module swap $currentPrgEnv PrgEnv-$newPrgEnv } +if [ ! -z $1 ] ; then + compilers=$@ +fi + for compiler in $compilers; do for version in $(module av $compiler -l 2>&1 | awk "/^$compiler\//{print \$1}" | awk -F'/' '{print $2}'); do logfile="$compiler-$version.log"