Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/regression/Selection/Molecules/MoleculeByFormula/testsuite-selection-select-molecules-by-formula.at

    re611dc r23958d  
    3535AT_KEYWORDS([selection molecule select-molecules-by-formula undo])
    3636
     37comparisonfile=empty.xyz
    3738regressionpath="${abs_top_srcdir}/tests/regression/Selection/Molecules/MoleculeByFormula"
    3839srcfile=mix.xyz
    3940testfile=test.xyz
    40 targetfile=empty.xyz
     41targetfile=empty1.xyz
    4142AT_CHECK([cp -n ${regressionpath}/pre/$srcfile $testfile], 0)
    4243AT_CHECK([../../molecuilder -i $testfile -I --select-molecules-by-formula H2O --undo -s $targetfile], 0, [stdout], [stderr])
    43 AT_CHECK([diff -I '.*Created by molecuilder.*' $targetfile ${regressionpath}/post/$targetfile], 0, [ignore], [ignore])
     44AT_CHECK([diff -I '.*Created by molecuilder.*' $targetfile ${regressionpath}/post/$comparisonfile], 0, [ignore], [ignore])
    4445
    4546regressionpath="${abs_top_srcdir}/tests/regression/Selection/Molecules/MoleculeByFormula"
    4647srcfile=mix.xyz
    4748testfile=test.xyz
    48 targetfile=empty.xyz
     49targetfile=empty2.xyz
    4950AT_CHECK([cp -n ${regressionpath}/pre/$srcfile $testfile], 0)
    5051AT_CHECK([../../molecuilder -i $testfile -I --select-molecules-by-formula "C2H5(OH)" --undo -s $targetfile], 0, [stdout], [stderr])
    51 AT_CHECK([diff -I '.*Created by molecuilder.*' $targetfile ${regressionpath}/post/$targetfile], 0, [ignore], [ignore])
     52AT_CHECK([diff -I '.*Created by molecuilder.*' $targetfile ${regressionpath}/post/$comparisonfile], 0, [ignore], [ignore])
    5253
    5354regressionpath="${abs_top_srcdir}/tests/regression/Selection/Molecules/MoleculeByFormula"
    5455srcfile=mix.xyz
    5556testfile=test.xyz
    56 targetfile=empty.xyz
     57targetfile=empty3.xyz
    5758AT_CHECK([cp -n ${regressionpath}/pre/$srcfile $testfile], 0)
    5859AT_CHECK([../../molecuilder -i $testfile -I --select-molecules-by-formula C6H6 --undo -s $targetfile], 0, [stdout], [stderr])
    59 AT_CHECK([diff -I '.*Created by molecuilder.*' $targetfile ${regressionpath}/post/$targetfile], 0, [ignore], [ignore])
     60AT_CHECK([diff -I '.*Created by molecuilder.*' $targetfile ${regressionpath}/post/$comparisonfile], 0, [ignore], [ignore])
    6061
    6162AT_CLEANUP
Note: See TracChangeset for help on using the changeset viewer.