1 | ### Bonds from file
|
---|
2 |
|
---|
3 | AT_SETUP([Molecules - Fragmentation bonds file])
|
---|
4 | AT_KEYWORDS([molecules,bond-file])
|
---|
5 |
|
---|
6 | file=test.conf
|
---|
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)
|
---|
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])
|
---|
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])
|
---|
11 |
|
---|
12 | AT_CLEANUP
|
---|
13 |
|
---|
14 |
|
---|
15 | AT_SETUP([Molecules - Fragmentation bonds file with Undo])
|
---|
16 | AT_XFAIL_IF([/bin/true])
|
---|
17 | AT_KEYWORDS([molecules,bond-file,undo])
|
---|
18 |
|
---|
19 | file=test.conf
|
---|
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)
|
---|
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])
|
---|
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])
|
---|
24 |
|
---|
25 | AT_CLEANUP
|
---|
26 |
|
---|
27 |
|
---|
28 | AT_SETUP([Molecules - Fragmentation bonds file with Redo])
|
---|
29 | AT_XFAIL_IF([/bin/true])
|
---|
30 | AT_KEYWORDS([molecules,bond-file,redo])
|
---|
31 |
|
---|
32 | file=test.conf
|
---|
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)
|
---|
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])
|
---|
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])
|
---|
37 |
|
---|
38 | AT_CLEANUP
|
---|
39 |
|
---|