Changeset 58808e for molecuilder/tests
- Timestamp:
- Oct 5, 2009, 5:21:58 PM (16 years ago)
- Children:
- 9c32a1
- Parents:
- 8afe31
- git-author:
- Frederik Heber <heber@…> (10/05/09 17:14:58)
- git-committer:
- Frederik Heber <heber@…> (10/05/09 17:21:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/tests/testsuite.at
r8afe31 r58808e 33 33 AT_DATA([test.conf], []) 34 34 AT_CHECK([../../molecuilder test.conf -e ./ -p test.xyz], 0, [ignore], [ignore]) 35 AT_CHECK([fgrep "Ion_Type1_1" test.conf], 0, [Ion_Type1_1 10.000000000 10.000000000 10.000000000 0 # Number in molecule035 AT_CHECK([fgrep "Ion_Type1_1" test.conf], 0, [Ion_Type1_1 10.000000000 10.000000000 10.000000000 0 # molecule nr 0 36 36 ], [ignore]) 37 AT_CHECK([ cptest.conf main_pcp_linux], 0, [ignore], [ignore])38 AT_DATA([input], [ aa 10. 10. 10. 137 AT_CHECK([mv test.conf main_pcp_linux], 0, [ignore], [ignore]) 38 AT_DATA([input], [maa 10. 10. 10. 1 39 39 s 40 40 q 41 41 ]) 42 AT_CHECK([../../molecuilder -e ./ <input], 0, [ignore], [ignore])42 AT_CHECK([../../molecuilder test.conf -e ./ <input], 0, [ignore], [ignore]) 43 43 AT_CHECK([diff main_pcp_linux test.conf], 0, [ignore], [ignore]) 44 44 # 4. test some more configuration 45 AT_CHECK([../../molecuilder test.conf -e ./ -t -s -b - F -E -c -b -a -U -T -u], 0, [ignore], [stderr])46 AT_CHECK([fgrep -c "Not enough or invalid" stderr], 0, [ 1045 AT_CHECK([../../molecuilder test.conf -e ./ -t -s -b -E -c -b -a -U -T -u], 0, [ignore], [stderr]) 46 AT_CHECK([fgrep -c "Not enough or invalid" stderr], 0, [9 47 47 ], [ignore]) 48 48 AT_CLEANUP … … 75 75 # 4. create the config and check it 76 76 AT_CHECK([../../molecuilder test.conf -e ./ -p test.xyz], 0, [ignore], [ignore]) 77 AT_CHECK([fgrep "Ion_Type1_4" test.conf], 0, [Ion_Type1_4 8.532785963 4.787886018 2.645886050 0 # Number in molecule677 AT_CHECK([fgrep "Ion_Type1_4" test.conf], 0, [Ion_Type1_4 8.532785963 4.787886018 2.645886050 0 # molecule nr 6 78 78 ], [ignore]) 79 79 AT_CHECK([fgrep "Ion_Type2_4" test.conf], 1, [ignore], [ignore])
Note:
See TracChangeset
for help on using the changeset viewer.