Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/regression/Filling/SuspendInWater/testsuite-suspend-in-water.at

    r2440ce r0d97b4  
    1818### suspend in water with certain density
    1919
    20 AT_SETUP([Filling - suspend in water fails with rho=1])
     20AT_SETUP([Filling - suspend in water])
     21AT_XFAIL_IF([/bin/true])
    2122AT_KEYWORDS([filling suspend-in-water])
    2223
     
    2425AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/pre/test.conf $file], 0)
    2526AT_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])
     27AT_CHECK([../../molecuilder -i $file  -v 3 --select-molecule-by-id 0 -u 1.3], 0, [stdout], [stderr])
     28AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/post/test.conf], 0, [ignore], [ignore])
    2729
    2830AT_CLEANUP
    2931
    30 AT_SETUP([Filling - suspend in water fails with just one molecule])
    31 AT_KEYWORDS([filling suspend-in-water])
    32 
    33 file=single_molecule.conf
    34 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_CLEANUP
    40 
    41 # rho must be on same side of 1 as the present density
    42 AT_SETUP([Filling - suspend in water fails with wrong rho])
    43 AT_KEYWORDS([filling suspend-in-water])
    44 
    45 file=test.conf
    46 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_CLEANUP
    52 
    53 AT_SETUP([Filling - suspend in water])
    54 AT_XFAIL_IF([/bin/true])
    55 AT_KEYWORDS([filling suspend-in-water])
    56 
    57 file=test.conf
    58 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_CLEANUP
    6432
    6533AT_SETUP([Filling - suspend in water with Undo])
     
    7038AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/pre/test.conf $file], 0)
    7139AT_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])
     40AT_CHECK([../../molecuilder -i $file  -v 3 --select-molecule-by-id 0 -u 1.3 --undo], 0, [stdout], [stderr])
    7341AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/post/test.conf], 0, [ignore], [ignore])
    7442
     
    8351AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/pre/test.conf $file], 0)
    8452AT_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])
     53AT_CHECK([../../molecuilder -i $file  -v 3 --select-molecule-by-id 0 -u 1.3 --undo --redo], 0, [stdout], [stderr])
    8654AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Filling/SuspendInWater/post/test.conf], 0, [ignore], [ignore])
    8755
Note: See TracChangeset for help on using the changeset viewer.