Changeset 23

Show
Ignore:
Timestamp:
11/11/08 12:58:55 (2 months ago)
Author:
mgalloy
Message:

Can find number of failing tests as well.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/mgunit/src/mgunit.pro

    r22 r23  
    1616;    npass : out, optional, type=long 
    1717;       number of tests that passed 
     18;    nfail : out, optional, type=long 
     19;       number of tests that failed 
    1820;    ntests : out, optional, type=long 
    1921;       number of tests       
    2022;- 
    21 pro mgunit, tests, filename=filename, html=html, npass=npass, ntests=ntests 
     23pro mgunit, tests, filename=filename, html=html, $ 
     24            npass=npass, nfail=nfail, ntests=ntests 
    2225  compile_opt strictarr 
    2326 
     
    3437    testsuite->add, tests 
    3538    testsuite->run 
    36     testsuite->getProperty, npass=npass, ntests=ntests 
     39    testsuite->getProperty, npass=npass, nfail=nfail, nfail, ntests=ntests 
    3740    obj_destroy, testsuite 
    3841  endif