Changeset 871b664


Ignore:
Timestamp:
Mar 1, 2017, 3:38:33 PM (5 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, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
088a5cd, bf8da66
Parents:
a62cbb3
Message:

Fixed path issues in tests

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • configure

    ra62cbb3 r871b664  
    32243224
    32253225
    3226 echo $build_threading
    3227 
    32283226if test "x$prefix" = "xNONE"; then
    32293227        cfa_prefix=${ac_default_prefix}
  • src/tests/Makefile.am

    ra62cbb3 r871b664  
    4040
    4141all-local :
    42         @+python test.py ${quick_test}
     42        @+python test.py --debug=${debug} --concurrent=${concurrent} ${quick_test}
    4343
    4444all-tests :
  • src/tests/Makefile.in

    ra62cbb3 r871b664  
    657657
    658658all-local :
    659         @+python test.py ${quick_test}
     659        @+python test.py --debug=${debug} --concurrent=${concurrent} ${quick_test}
    660660
    661661all-tests :
  • src/tests/test.py

    ra62cbb3 r871b664  
    3333
    3434def listTestsFolder(folder) :
    35         path = ('./.expect/%s' % folder) if folder else './expect'
     35        path = ('./.expect/%s/' % folder) if folder else './.expect/'
     36        subpath = "%s/" % folder if folder else ""
    3637
    3738        # tests directly in the .expect folder will always be processed
    38         return map(lambda fname: Test(fname, '%s/%s' % (path, fname)),
     39        return map(lambda fname: Test(fname, subpath + fname),
    3940                [splitext(f)[0] for f in listdir( path )
    4041                if not f.startswith('.') and f.endswith('.txt')
     
    4647
    4748        # tests directly in the .expect folder will always be processed
    48         generic_list = listTestsFolder( "." )
     49        generic_list = listTestsFolder( "" )
    4950
    5051        # tests in the machineType folder will be ran only for the corresponding compiler
Note: See TracChangeset for help on using the changeset viewer.