### Bonds from file AT_SETUP([Molecules - Fragmentation bonds file]) AT_KEYWORDS([molecules bond-file]) file=test.conf AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/BondFile/pre/test.conf $file], 0) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/BondFile/pre/test.dbond .], 0) AT_CHECK([../../molecuilder -i $file -o pdb -v 4 --select-molecule-by-id 0 -A test.dbond --skiplines 1 --offset 0], 0, [stdout], [stderr]) AT_CHECK([file=test.pdb; diff -w -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Molecules/BondFile/post/test.pdb], 0, [ignore], [ignore]) AT_CLEANUP AT_SETUP([Molecules - Fragmentation bonds file with Undo]) AT_XFAIL_IF([/bin/true]) AT_KEYWORDS([molecules bond-file undo]) file=test.conf AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/BondFile/pre/test.conf $file], 0) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/BondFile/pre/test.dbond .], 0) AT_CHECK([../../molecuilder -i $file -o pdb -v 4 --select-molecule-by-id 0 -A test.dbond --skiplines 1 --offset 0 --undo], 0, [stdout], [stderr]) AT_CHECK([file=test.pdb; diff -w -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Molecules/BondFile/post/test.pdb], 0, [ignore], [ignore]) AT_CLEANUP AT_SETUP([Molecules - Fragmentation bonds file with Redo]) AT_XFAIL_IF([/bin/true]) AT_KEYWORDS([molecules bond-file redo]) file=test.conf AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/BondFile/pre/test.conf $file], 0) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/BondFile/pre/test.dbond .], 0) AT_CHECK([../../molecuilder -i $file -o pdb -v 4 --select-molecule-by-id 0 -A test.dbond --skiplines 1 --offset 0 --undo --redo], 0, [stdout], [stderr]) AT_CHECK([file=test.pdb; diff -w -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Molecules/BondFile/post/test.pdb], 0, [ignore], [ignore]) AT_CLEANUP