Changeset 17b1873 in sasview


Ignore:
Timestamp:
Oct 23, 2013 8:49:02 AM (10 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:
1c1b037
Parents:
5980b1a
Message:

Update test script for new code structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/utest_sansview.py

    raa01d07b r17b1873  
    2121    SKIPPED_DIRS.append("sansguiframe") 
    2222 
    23 SANSVIEW_DIR = os.pardir 
    2423COMMAND_SEP = ';' 
    2524if os.name == 'nt': 
     
    3332    n_failures = 0 
    3433     
    35     for d in os.listdir(SANSVIEW_DIR): 
     34    for d in os.listdir(os.getcwd()): 
    3635         
    3736        # Check for modules to be skipped 
     
    4039         
    4140        # Go through modules looking for unit tests 
    42         module_dir = os.path.join(os.getcwd(),SANSVIEW_DIR,d,"test") 
     41        module_dir = os.path.join(os.getcwd(),d,"test") 
    4342        if os.path.isdir(module_dir): 
    4443            for f in os.listdir(module_dir): 
Note: See TracChangeset for help on using the changeset viewer.