[e69c87] | 1 | ### Bonds from file
|
---|
| 2 |
|
---|
| 3 | AT_SETUP([Molecules - Fragmentation bonds file])
|
---|
[e611dc] | 4 | AT_KEYWORDS([molecules bond-file])
|
---|
[e69c87] | 5 |
|
---|
| 6 | file=test.conf
|
---|
[7db9bd] | 7 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/BondFile/pre/test.conf $file], 0)
|
---|
| 8 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/BondFile/pre/test.dbond .], 0)
|
---|
[e69c87] | 9 | AT_CHECK([../../molecuilder -i $file -o pdb -v 4 --select-molecule-by-id 0 -A test.dbond --skiplines 1 --offset 0], 0, [stdout], [stderr])
|
---|
[473237] | 10 | 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])
|
---|
[e69c87] | 11 |
|
---|
| 12 | AT_CLEANUP
|
---|
| 13 |
|
---|
| 14 |
|
---|
| 15 | AT_SETUP([Molecules - Fragmentation bonds file with Undo])
|
---|
| 16 | AT_XFAIL_IF([/bin/true])
|
---|
[e611dc] | 17 | AT_KEYWORDS([molecules bond-file undo])
|
---|
[e69c87] | 18 |
|
---|
| 19 | file=test.conf
|
---|
[7db9bd] | 20 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/BondFile/pre/test.conf $file], 0)
|
---|
| 21 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/BondFile/pre/test.dbond .], 0)
|
---|
[e69c87] | 22 | 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])
|
---|
[473237] | 23 | 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])
|
---|
[e69c87] | 24 |
|
---|
| 25 | AT_CLEANUP
|
---|
| 26 |
|
---|
| 27 |
|
---|
| 28 | AT_SETUP([Molecules - Fragmentation bonds file with Redo])
|
---|
| 29 | AT_XFAIL_IF([/bin/true])
|
---|
[e611dc] | 30 | AT_KEYWORDS([molecules bond-file redo])
|
---|
[e69c87] | 31 |
|
---|
| 32 | file=test.conf
|
---|
[7db9bd] | 33 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/BondFile/pre/test.conf $file], 0)
|
---|
| 34 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/BondFile/pre/test.dbond .], 0)
|
---|
[e69c87] | 35 | 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])
|
---|
[473237] | 36 | 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])
|
---|
[e69c87] | 37 |
|
---|
| 38 | AT_CLEANUP
|
---|
| 39 |
|
---|