[8c574b] | 1 | AT_BANNER([MoleCuilder - Molecules])
|
---|
| 2 | # 1. Bonds from file
|
---|
| 3 | AT_SETUP([Molecules - Bonds from file])
|
---|
| 4 | AT_KEYWORDS([Molecules])
|
---|
| 5 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/1/pre/test.* .], 0)
|
---|
[f4bd01] | 6 | AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -v 4 -A test.dbond --molecule-by-id 0], 0, [stdout], [stderr])
|
---|
[8c574b] | 7 | AT_CHECK([fgrep "Looking for atoms 2 and 9." stdout], 0, [ignore], [ignore])
|
---|
| 8 | AT_CLEANUP
|
---|
| 9 |
|
---|
| 10 | # 2. Storing adjacency info
|
---|
| 11 | AT_SETUP([Molecules - Storing bond info])
|
---|
| 12 | AT_KEYWORDS([Molecules])
|
---|
| 13 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/2/pre/test.conf .], 0)
|
---|
[77de81] | 14 | AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -v 1 -j test.dbond --molecule-by-id 0], 0, [stdout], [stderr])
|
---|
[8c574b] | 15 | AT_CHECK([file=test.dbond; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/2/post/$file], 0, [ignore], [ignore])
|
---|
[77de81] | 16 | AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -v 1 -J test.adj --molecule-by-id 0], 0, [stdout], [stderr])
|
---|
[8c574b] | 17 | AT_CHECK([file=test.adj; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/2/post/$file], 0, [ignore], [ignore])
|
---|
| 18 | AT_CLEANUP
|
---|
| 19 |
|
---|
| 20 | # 3. Storing temperature
|
---|
| 21 | AT_SETUP([Molecules - Storing temperature])
|
---|
| 22 | AT_KEYWORDS([Molecules])
|
---|
| 23 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/3/pre/test.conf .], 0)
|
---|
| 24 | AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -S test.ekin], 0, [stdout], [stderr])
|
---|
| 25 | AT_CHECK([file=test.ekin; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/3/post/$file], 0, [ignore], [ignore])
|
---|
| 26 | AT_CLEANUP
|
---|
| 27 |
|
---|
| 28 | # 4. linear interpolation
|
---|
| 29 | AT_SETUP([Molecules - BROKEN: Linear interpolation])
|
---|
| 30 | AT_KEYWORDS([Molecules])
|
---|
| 31 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/4/pre/test.conf .], 0)
|
---|
| 32 | AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -L 0 1 teststep 1], 0, [stdout], [stderr])
|
---|
| 33 | AT_CLEANUP
|
---|
| 34 |
|
---|
| 35 | # 5. Verlet force integration
|
---|
| 36 | AT_SETUP([Molecules - BROKEN: Verlet force integration])
|
---|
| 37 | AT_KEYWORDS([Molecules])
|
---|
| 38 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/5/pre/test.* .], 0)
|
---|
[aacce8] | 39 | AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -P test.forces --molecule-by-id 0], 134, [stdout], [stderr])
|
---|
[8c574b] | 40 | #AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/5/post/$file], 0, [ignore], [ignore])
|
---|
| 41 | AT_CLEANUP
|
---|
| 42 |
|
---|
| 43 | # 6. Translation
|
---|
| 44 | AT_SETUP([Molecules - Translation])
|
---|
| 45 | AT_KEYWORDS([Molecules])
|
---|
| 46 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/6/pre/test.* .], 0)
|
---|
[77b2d7] | 47 | AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -t 1. 1. 1. --molecule-by-id 0 --periodic 0], 0, [stdout], [stderr])
|
---|
[8c574b] | 48 | AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/6/post/$file], 0, [ignore], [ignore])
|
---|
| 49 | AT_CLEANUP
|
---|
| 50 |
|
---|
| 51 | # 7. Periodic translation
|
---|
| 52 | AT_SETUP([Molecules - Periodic translation])
|
---|
| 53 | AT_KEYWORDS([Molecules])
|
---|
| 54 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/7/pre/test.* .], 0)
|
---|
[77b2d7] | 55 | AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -t 12. 12. 12. --molecule-by-id 0 --periodic 1], 0, [stdout], [stderr])
|
---|
[8c574b] | 56 | AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/7/post/$file], 0, [ignore], [ignore])
|
---|
| 57 | AT_CLEANUP
|
---|
| 58 |
|
---|
[aacce8] | 59 | # 8. Rotate to PAS
|
---|
[8c574b] | 60 | AT_SETUP([Molecules - BROKEN: Rotate to PAS])
|
---|
| 61 | AT_KEYWORDS([Molecules])
|
---|
| 62 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/8/pre/test.* .], 0)
|
---|
| 63 | AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -m 1], 0, [stdout], [stderr])
|
---|
| 64 | #AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/8/post/$file], 0, [ignore], [ignore])
|
---|
| 65 | AT_CLEANUP
|
---|
| 66 |
|
---|