Changeset 58808e for molecuilder/tests


Ignore:
Timestamp:
Oct 5, 2009, 5:21:58 PM (16 years ago)
Author:
Frederik Heber <heber@…>
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)
Message:

Fixed testsuite, removed some minor bugs.

  • TesselationUnitTest_SOURCES lacked memoryallocator stuff
  • Free does not give a message anymore, as there can be no error.
  • testsuite was fixed for suite 2 and 3, mostly due to changed options that were not accomodated for in the testsuite
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/tests/testsuite.at

    r8afe31 r58808e  
    3333AT_DATA([test.conf], [])
    3434AT_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 molecule 0
     35AT_CHECK([fgrep "Ion_Type1_1" test.conf], 0, [Ion_Type1_1       10.000000000    10.000000000    10.000000000    0 # molecule nr 0
    3636], [ignore])
    37 AT_CHECK([cp test.conf main_pcp_linux], 0, [ignore], [ignore])
    38 AT_DATA([input], [aa 10. 10. 10. 1
     37AT_CHECK([mv test.conf main_pcp_linux], 0, [ignore], [ignore])
     38AT_DATA([input], [maa 10. 10. 10. 1
    3939s
    4040q
    4141])
    42 AT_CHECK([../../molecuilder -e ./ <input], 0, [ignore], [ignore])
     42AT_CHECK([../../molecuilder test.conf -e ./ <input], 0, [ignore], [ignore])
    4343AT_CHECK([diff main_pcp_linux test.conf], 0, [ignore], [ignore])
    4444# 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, [10
     45AT_CHECK([../../molecuilder test.conf -e ./ -t -s -b -E -c -b -a -U -T -u], 0, [ignore], [stderr])
     46AT_CHECK([fgrep -c "Not enough or invalid" stderr], 0, [9
    4747], [ignore])
    4848AT_CLEANUP
     
    7575# 4. create the config and check it
    7676AT_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 molecule 6
     77AT_CHECK([fgrep "Ion_Type1_4" test.conf], 0, [Ion_Type1_4       8.532785963     4.787886018     2.645886050     0 # molecule nr 6
    7878], [ignore])
    7979AT_CHECK([fgrep "Ion_Type2_4" test.conf], 1, [ignore], [ignore])
Note: See TracChangeset for help on using the changeset viewer.