Changeset 466149d
- Timestamp:
- Jun 27, 2016, 4:26:38 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 22cad76
- Parents:
- b9be079b (diff), e7ce55e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src/tests
- Files:
-
- 1 edited
- 58 moved
Legend:
- Unmodified
- Added
- Removed
-
src/tests/.expect/castError.txt
rb9be079b r466149d 40 40 41 41 42 make: *** [ CastError] Error 142 make: *** [castError] Error 1 -
src/tests/.expect/constant0-1DP.txt
rb9be079b r466149d 32 32 Error: duplicate object definition for x: const pointer to pointer to signed int 33 33 Error: duplicate object definition for 0: pointer to pointer to signed int 34 make: *** [ Constant0-1DP] Error 134 make: *** [constant0-1DP] Error 1 -
src/tests/.expect/constant0-1NDDP.txt
rb9be079b r466149d 16 16 Error: duplicate object definition for x: const pointer to signed int 17 17 Error: duplicate object definition for 0: const pointer to signed int 18 make: *** [ Constant0-1NDDP] Error 118 make: *** [constant0-1NDDP] Error 1 -
src/tests/.expect/declarationErrors.txt
rb9be079b r466149d 14 14 Error: invalid combination of storage classes in declaration of x28: static static volatile const instance of type Int 15 15 16 make: *** [ DeclarationErrors] Error 116 make: *** [declarationErrors] Error 1 -
src/tests/.expect/declarationSpecifier.txt
rb9be079b r466149d 14 14 Error: invalid combination of storage classes in declaration of x28: static static volatile const instance of type Int 15 15 16 make: *** [ DeclarationSpecifier] Error 116 make: *** [declarationSpecifier] Error 1 -
src/tests/.expect/labelledExit.txt
rb9be079b r466149d 1 1 CFA Version 1.0.0 (debug) 2 2 Error: 'break' outside a loop or switch 3 make: *** [ LabelledExit] Error 13 make: *** [labelledExit] Error 1 -
src/tests/.expect/scopeErrors.txt
rb9be079b r466149d 9 9 CompoundStmt 10 10 11 make: *** [ ScopeErrors] Error 111 make: *** [scopeErrors] Error 1 -
src/tests/test.py
rb9be079b r466149d 61 61 62 62 # build, skipping to next test on error 63 make_ret = sh(" make -j 8 %s 2> %s 1> /dev/null" % (test, out_file), dry_run)63 make_ret = sh("%s %s 2> %s 1> /dev/null" % (make_cmd, test, out_file), dry_run) 64 64 65 65 if make_ret == 0 : … … 84 84 85 85 def run_tests(tests, generate, dry_run) : 86 sh( 'make clean > /dev/null 2>&1', dry_run)86 sh("%s clean > /dev/null 2>&1" % make_cmd, dry_run) 87 87 sh('mkdir -p .out .expect', dry_run) 88 88 … … 102 102 print( "Done" ) 103 103 104 sh( 'make clean > /dev/null 2>&1', dry_run)104 sh("%s clean > /dev/null 2>&1" % make_cmd, dry_run) 105 105 106 106 return 1 if failed else 0 … … 141 141 sys.exit(1) 142 142 143 tests.sort() 144 make_flags = environ.get('MAKEFLAGS') 145 make_cmd = "make" if make_flags and "-j" in make_flags else "make -j8" 146 143 147 if options.list : 144 148 print("\n".join(tests))
Note: See TracChangeset
for help on using the changeset viewer.