Changeset 6d44da1 for tests/Makefile.am
- Timestamp:
- Sep 25, 2018, 11:35:34 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- c6bbcdb
- Parents:
- 341bb80 (diff), 7428ad9 (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. - File:
-
- 1 edited
-
tests/Makefile.am (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/Makefile.am
r341bb80 r6d44da1 23 23 24 24 concurrent= 25 timeouts= 25 26 26 27 TEST_PY = python ${builddir}/test.py … … 38 39 CC = @CFACC@ 39 40 41 PRETTY_PATH=cd ${srcdir} && 42 40 43 .PHONY: list .validate 41 44 .INTERMEDIATE: .validate .validate.c … … 48 51 #---------------------------------------------------------------------------------------------------------------- 49 52 all-local : 50 @+${TEST_PY} --debug=${debug} --install=${installed} ${concurrent} ${ quick_test}53 @+${TEST_PY} --debug=${debug} --install=${installed} ${concurrent} ${timeouts} ${quick_test} 51 54 52 55 all-tests : 53 @+${TEST_PY} -- all --debug=${debug} --install=${installed} ${concurrent}# '@' => do not echo command (SILENT), '+' => allows recursive make from within python program56 @+${TEST_PY} --debug=${debug} --install=${installed} ${concurrent} ${timeouts} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program 54 57 55 58 clean-local : … … 71 74 # implicit rule so not all test require a rule 72 75 % : %.c $(CC) 73 $( COMPILE) $(abspath ${<}) -o ${@}76 $(PRETTY_PATH) $(COMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 74 77 75 78 declarationSpecifier: declarationSpecifier.c $(CC) 76 $( COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@}79 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 77 80 78 81 gccExtensions : gccExtensions.c $(CC) 79 $( COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@}82 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 80 83 81 84 extension : extension.c $(CC) 82 $( COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@}85 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 83 86 84 87 attributes : attributes.c $(CC) 85 $( COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@}88 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 86 89 87 90 functions: functions.c $(CC) 88 $( COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@}91 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 89 92 90 93 KRfunctions : KRfunctions.c $(CC) 91 $( COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@}94 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 92 95 93 96 sched-ext-parse : sched-ext-parse.c $(CC) 94 $( COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@}97 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 95 98 96 99 gmp : gmp.c $(CC) 97 $( COMPILE) -lgmp $(abspath ${<}) -o ${@}100 $(PRETTY_PATH) $(COMPILE) -lgmp $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 98 101 102 #builtins 103 builtins/sync: builtins/sync.c $(CC) 104 $(PRETTY_PATH) $(COMPILE) $(shell realpath --relative-to=${srcdir} ${<}) 2> $(abspath ${@}) -fsyntax-only 105 106 #------------------------------------------------------------------------------ 107 #To make errors path independent we need to cd into the correct directories 99 108 completeTypeError : completeTypeError.c $(CC) 100 $( COMPILE) -DERR1 $(abspath ${<}) -o ${@}109 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 101 110 102 111 typedefRedef-ERR1: typedefRedef.c $(CC) 103 $( COMPILE) -DERR1 $(abspath ${<}) -o ${@}112 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 104 113 105 114 alloc-ERROR: alloc.c $(CC) 106 $( COMPILE) -DERR1 $(abspath ${<}) -o ${@}115 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 107 116 108 117 fallthrough-ERROR: fallthrough.c $(CC) 109 $( COMPILE) -DERR1 $(abspath ${<}) -o ${@}118 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 110 119 111 120 nested-types-ERR1: nested-types.c $(CC) 112 $( COMPILE) -DERR1 $(abspath ${<}) -o ${@}121 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 113 122 114 123 nested-types-ERR2: nested-types.c $(CC) 115 $( COMPILE) -DERR2 $(abspath ${<}) -o ${@}124 $(PRETTY_PATH) $(COMPILE) -DERR2 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 116 125 117 126 # Constructor/destructor tests 118 127 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c $(CC) 119 $( COMPILE) -DERR1 $(abspath ${<}) -o ${@}128 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 120 129 121 130 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c $(CC) 122 $( COMPILE) -DERR2 $(abspath ${<}) -o ${@}131 $(PRETTY_PATH) $(COMPILE) -DERR2 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 123 132 124 133 raii/memberCtors-ERR1: raii/memberCtors.c $(CC) 125 $( COMPILE) -DERR1 $(abspath ${<}) -o ${@}134 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 126 135 127 136 raii/ctor-autogen-ERR1: raii/ctor-autogen.c $(CC) 128 $( COMPILE) -DERR1 $(abspath ${<}) -o ${@}137 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 129 138 130 139 # Warnings 131 140 warnings/self-assignment: warnings/self-assignment.c $(CC) 132 $(COMPILE) $(abspath ${<}) 2> ${@} -fsyntax-only 133 134 #builtins 135 builtins/sync: builtins/sync.c $(CC) 136 $(COMPILE) $(abspath ${<}) 2> ${@} -fsyntax-only 141 $(PRETTY_PATH) $(COMPILE) $(shell realpath --relative-to=${srcdir} ${<}) 2> $(abspath ${@}) -fsyntax-only
Note:
See TracChangeset
for help on using the changeset viewer.