Commit afe07c65 authored by sponce's avatar sponce

Output more info when running in the case of PW test-suite



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13661 c92efa57-630b-4861-b058-cf58834340f0
parent 6d740531
......@@ -8,7 +8,7 @@
# of the License. See the file `License' in the root directory
# of the present distribution.
include ${ESPRESSO_ROOT}/test-suite/ENVIRONMENT
#include ${ESPRESSO_ROOT}/test-suite/ENVIRONMENT
if [ $QE_USE_MPI == 1 ]; then
export PARA_PREFIX="mpirun -np ${TESTCODE_NPROCS}"
......@@ -16,8 +16,8 @@ else
unset PARA_PREFIX
fi
#echo $0" "$@
# Additional stuff before run special test-cases
if test "$2" = "vdw1.in" || test "$1" = "vdw2.in" ; then
if ! test -f ${ESPRESSO_PSEUDO}/vdW_kernel_table ; then
echo -n "Generating kernel table - May take several minutes..."
......@@ -36,6 +36,7 @@ if test "$2" = "vdw6.in" ; then
fi
fi
${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/pw.x "$@"
echo "${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/pw.x -input $1 > $2 2> $3"
${PARA_PREFIX} ${ESPRESSO_ROOT}/bin/pw.x -input $1 > $2 2> $3
rm -f input_tmp.in
......@@ -2,7 +2,7 @@
exe = XXXXXX/test-suite/run-pw.sh
extract_program = XXXXXX/test-suite/extract-pw.x
inputs_args = ('*.in', '')
run_cmd_template = tc.program -input tc.input tc.args > tc.output 2> tc.error
run_cmd_template = tc.program tc.input tc.output tc.error
tolerance = ( (8.0e-4, 1.0e-4, 'e1'),
(5.0, None, 'n1'),
(1.0e-3, None, 'f1'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment