From 26ca62856853b3c7e7d1066766cbd41ba6a5765e Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Thu, 8 Dec 2011 14:39:15 +0000 Subject: [PATCH] Use command line arguments to test only for specific compilers. --- tests/c++-compiler/test.sh | 4 ++++ 1 file changed, 4 insertions(+) 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"