Changeset 7352:13f400aba0b9 in orange


Ignore:
Timestamp:
02/03/11 23:15:26 (3 years ago)
Author:
blaz <blaz.zupan@…>
Branch:
default
Convert:
ac7636ebb40158be84c524465a97fc456027c7c9
Message:

now uses xtest_one.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testing/regressionTests/xtest.py

    r6787 r7352  
    3737        os.chdir(dir) 
    3838        outputsdir = "%s/results/%s/%s" % (regtestdir, module, dir) 
     39        print "DIR", dir 
    3940        if not os.path.exists(outputsdir): 
    4041            os.mkdir(outputsdir) 
     
    110111                     
    111112                titerations = re_israndom.search(open(name, "rt").read()) and 1 or iterations 
    112                 os.spawnl(os.P_WAIT, sys.executable, "-c", regtestdir+"/xtest1.py", name, str(titerations), outputsdir) 
     113                os.spawnl(os.P_WAIT, sys.executable, "-c", regtestdir+"/xtest_one.py", name, str(titerations), outputsdir) 
    113114                 
    114115                result = open("xtest1_report", "rt").readline().rstrip() or "crash" 
     
    177178        sys.exit(1) 
    178179     
    179     test_scripts(command=="test", command=="report" or (command=="report-html" and command or False), module=module, root_directory=root,  
    180                 test_files=test_files, directories=directories) 
     180    test_scripts(command=="test", command=="report" or (command=="report-html" and command or False),  
     181                 module=module, root_directory=root,  
     182                 test_files=test_files, directories=directories) 
    181183    # sys.exit(error_status) 
    182184     
Note: See TracChangeset for help on using the changeset viewer.