- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/regression/Filling/SuspendInWater/testsuite-suspend-in-water.at
r2440ce r0d97b4 18 18 ### suspend in water with certain density 19 19 20 AT_SETUP([Filling - suspend in water fails with rho=1]) 20 AT_SETUP([Filling - suspend in water]) 21 AT_XFAIL_IF([/bin/true]) 21 22 AT_KEYWORDS([filling suspend-in-water]) 22 23 … … 24 25 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/pre/test.conf $file], 0) 25 26 AT_CHECK([chmod u+w $file], 0) 26 AT_CHECK([../../molecuilder -i $file -I -v 3 --select-molecule-by-id 0 -u --density 1.], 5, [stdout], [stderr]) 27 AT_CHECK([../../molecuilder -i $file -v 3 --select-molecule-by-id 0 -u 1.3], 0, [stdout], [stderr]) 28 AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/post/test.conf], 0, [ignore], [ignore]) 27 29 28 30 AT_CLEANUP 29 31 30 AT_SETUP([Filling - suspend in water fails with just one molecule])31 AT_KEYWORDS([filling suspend-in-water])32 33 file=single_molecule.conf34 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/pre/$file $file], 0)35 AT_CHECK([chmod u+w $file], 0)36 AT_CHECK([../../molecuilder -i $file -I -v 3 --select-molecule-by-id 0 -u --density 1.], 5, [stdout], [stderr])37 AT_CHECK([grep "at least two molecules" stdout], 0, [ignore], [ignore])38 39 AT_CLEANUP40 41 # rho must be on same side of 1 as the present density42 AT_SETUP([Filling - suspend in water fails with wrong rho])43 AT_KEYWORDS([filling suspend-in-water])44 45 file=test.conf46 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/pre/$file $file], 0)47 AT_CHECK([chmod u+w $file], 0)48 AT_CHECK([../../molecuilder -i $file -I -v 3 --select-molecule-by-id 0 -u --density .5], 5, [stdout], [stderr])49 AT_CHECK([grep "Desired and present molecular densities must both be either" stdout], 0, [ignore], [ignore])50 51 AT_CLEANUP52 53 AT_SETUP([Filling - suspend in water])54 AT_XFAIL_IF([/bin/true])55 AT_KEYWORDS([filling suspend-in-water])56 57 file=test.conf58 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/pre/$file $file], 0)59 AT_CHECK([chmod u+w $file], 0)60 AT_CHECK([../../molecuilder -i $file -I -v 3 --select-molecule-by-id 0 -u --density 2.], 5, [stdout], [stderr])61 AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/post/test.conf], 0, [ignore], [ignore])62 63 AT_CLEANUP64 32 65 33 AT_SETUP([Filling - suspend in water with Undo]) … … 70 38 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/pre/test.conf $file], 0) 71 39 AT_CHECK([chmod u+w $file], 0) 72 AT_CHECK([../../molecuilder -i $file -I -v 3 --select-molecule-by-id 0 -u --density 2.--undo], 0, [stdout], [stderr])40 AT_CHECK([../../molecuilder -i $file -v 3 --select-molecule-by-id 0 -u 1.3 --undo], 0, [stdout], [stderr]) 73 41 AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/post/test.conf], 0, [ignore], [ignore]) 74 42 … … 83 51 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/pre/test.conf $file], 0) 84 52 AT_CHECK([chmod u+w $file], 0) 85 AT_CHECK([../../molecuilder -i $file -I -v 3 --select-molecule-by-id 0 -u --density 2.--undo --redo], 0, [stdout], [stderr])53 AT_CHECK([../../molecuilder -i $file -v 3 --select-molecule-by-id 0 -u 1.3 --undo --redo], 0, [stdout], [stderr]) 86 54 AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/post/test.conf], 0, [ignore], [ignore]) 87 55
Note:
See TracChangeset
for help on using the changeset viewer.