Changes in tests/Tesselations/defs.in [491876:bdedb1]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/Tesselations/defs.in
r491876 rbdedb1 24 24 if $need_testdir 25 25 then 26 if $testdir_exists; then :; else 27 mkdir $testdir 28 CLEANUP="$CLEANUP; rmdir $testdir" 26 if $testdir_exists; then 27 rm -rf $testdir 29 28 fi 30 cp @srcdir@/$testdir/* $testdir/ 29 mkdir $testdir 30 CLEANUP="$CLEANUP; rm -rf $testdir" 31 cp -r @srcdir@/$testdir/* $testdir/ 31 32 cd $testdir 32 33 CLEANUP="rm -f stderr stdout diffstderr diffstdout; cd ..; $CLEANUP" … … 51 52 FILENAME="NonConvexEnvelope" 52 53 exitcode=0 53 #echo "Current dir is `pwd`, calling $MOLECUILDER $mol.conf -e $exec_prefix -p $mol.xyz -c 5. 5. 5. -N $RADIUS $FILENAME." 54 cd $RADIUS 55 #echo "Current dir is `pwd`, calling $MOLECUILDER $mol.conf -e $exec_prefix -p ../$mol.xyz -N $RADIUS $FILENAME." 54 56 if [ -e $mol.dbond ]; then 55 $MOLECUILDER $mol.conf -e $exec_prefix -p $mol.xyz -c 5. 5. 5.-A $mol.dbond -N $RADIUS $FILENAME 2>stderr >stdout || exitcode=$?57 $MOLECUILDER $mol.conf -e $exec_prefix -p ../$mol.xyz -A $mol.dbond -N $RADIUS $FILENAME 2>stderr >stdout || exitcode=$? 56 58 else 57 $MOLECUILDER $mol.conf -e $exec_prefix -p $mol.xyz -c 5. 5. 5.-N $RADIUS $FILENAME 2>stderr >stdout || exitcode=$?59 $MOLECUILDER $mol.conf -e $exec_prefix -p ../$mol.xyz -N $RADIUS $FILENAME 2>stderr >stdout || exitcode=$? 58 60 fi 61 #echo "Molecuilder done with exitcode $exitcode." 59 62 #cat stderr 60 63 #cat stdout 61 #diff ${FILENAME}.dat @srcdir@/$mol/${FILENAME}-$mol.dat 2>diffstderr >diffstdout || exitcode=$? 64 diff ${FILENAME}.dat ../@srcdir@/$mol/$2/${FILENAME}-$mol.dat 2>diffstderr >diffstdout || exitcode=$? 65 #echo "Diff done with exitcode $exitcode." 66 #cat diffstderr 67 #cat diffstdout 68 cd .. 62 69 test $exitcode = $expected_exitcode || exit 1 63 70 }
Note:
See TracChangeset
for help on using the changeset viewer.