Changeset 871b664 for src/tests/test.py
- Timestamp:
- Mar 1, 2017, 3:38:33 PM (6 years ago)
- Branches:
- aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 088a5cd, bf8da66
- Parents:
- a62cbb3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/test.py
ra62cbb3 r871b664 33 33 34 34 def 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 "" 36 37 37 38 # 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), 39 40 [splitext(f)[0] for f in listdir( path ) 40 41 if not f.startswith('.') and f.endswith('.txt') … … 46 47 47 48 # tests directly in the .expect folder will always be processed 48 generic_list = listTestsFolder( " ." )49 generic_list = listTestsFolder( "" ) 49 50 50 51 # tests in the machineType folder will be ran only for the corresponding compiler
Note: See TracChangeset
for help on using the changeset viewer.