Changeset a95c117 for src/tests/test.py


Ignore:
Timestamp:
Jul 26, 2018, 5:20:14 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
0300979, 303c61d, 4e1572f, c198b69
Parents:
91788fa
Message:

Fixed handling of paths when regenerating tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/test.py

    r91788fa ra95c117  
    6464                        testname = canonicalPath( testname )
    6565                        if Test.valid_name(testname):
    66                                 found = [test for test in allTests if test.target() == testname]
     66                                found = [test for test in allTests if canonicalPath( test.target() ) == testname]
    6767                                tests.append( found[0] if len(found) == 1 else Test.from_target(testname) )
    6868                        else :
     
    137137        test.prepare()
    138138
    139         # remove any outputs from the previous tests to prevent side effects
    140         rm( (out_file, err_file, exe_file) )
    141 
    142139        # build, skipping to next test on error
    143140        before = time.time()
Note: See TracChangeset for help on using the changeset viewer.