Changeset 117a1d6 in sasview for test


Ignore:
Timestamp:
Nov 23, 2011 1:55:12 PM (13 years ago)
Author:
Mathieu Doucet <doucetm@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
3adf4b3
Parents:
019a943
Message:

Re #5 improving tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/utest_sansview.py

    r6232a6f r117a1d6  
    3232                    std_out, std_err = proc.communicate() 
    3333                    has_failed = True 
    34                     m = re.search("Ran ([0-9]+) tests", std_out) 
     34                    m = re.search("Ran ([0-9]+) test", std_out) 
    3535                    if m is not None: 
    3636                        has_failed = False 
     
    4949                    if has_failed: 
    5050                        failed += 1 
    51                         print "Result for %s: FAILED" % module_name 
     51                        print "Result for %s (%s): FAILED" % (module_name, module_dir) 
    5252                        print std_out 
    5353                    else: 
Note: See TracChangeset for help on using the changeset viewer.