NWChem/contrib/validate/get_tests.bash
2013-03-19 18:15:13 +00:00

20 lines
476 B
Bash
Executable file

#!/bin/bash
#
# get_tests.bash
# --------------
#
# Go through the output of the QA run and extract the names of all the test
# cases that were run. The list of tests run is echoed to standard output.
#
# Arguments:
#
# - $0: The name of this script
# - $1: The log filename from the QA test suite run
#
job_list=`grep -v 'QM: Running' $1 | grep Running`
for job in $job_list; do
if [ $job != "Running" ] ; then
testname=`basename $job`
echo $testname
fi
done