Changeset a45fc7b for tests/test.py
- Timestamp:
- Mar 27, 2019, 2:44:34 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 1241851, ce3d305
- Parents:
- 86fb8f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/test.py
r86fb8f2 ra45fc7b 141 141 # build, skipping to next test on error 142 142 with Timed() as comp_dur: 143 make_ret, _ = make( test.target(), redirects = ("2> %s 1> /dev/null" % out_file), error_file = err_file )143 make_ret, _ = make( test.target(), output=subprocess.DEVNULL, error=out_file, error_file = err_file ) 144 144 145 145 # if the make command succeds continue otherwise skip to diff … … 195 195 196 196 #print result with error if needed 197 text = name_txt + result_txt197 text = '\t' + name_txt + result_txt 198 198 out = sys.stdout 199 199 if error : … … 212 212 def run_tests(tests, jobs) : 213 213 # clean the sandbox from previous commands 214 make('clean', redirects = '> /dev/null 2>&1')214 make('clean', output=subprocess.DEVNULL, error=subprocess.DEVNULL) 215 215 216 216 # create the executor for our jobs and handle the signal properly … … 230 230 231 231 # clean the workspace 232 make('clean', redirects = '> /dev/null 2>&1')232 make('clean', output=subprocess.DEVNULL, error=subprocess.DEVNULL) 233 233 234 234 for failed in results:
Note: See TracChangeset
for help on using the changeset viewer.