Changeset 91788fa for src/tests/Makefile.am
- Timestamp:
- Jul 25, 2018, 6:23:58 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- a95c117, f0b3f51
- Parents:
- 40a7d9c (diff), e89f4b1 (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
-
src/tests/Makefile.am (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/Makefile.am
r40a7d9c r91788fa 15 15 ############################################################################### 16 16 17 17 18 debug=yes 18 19 … … 24 25 concurrent='-Econcurrent' 25 26 endif 27 28 TEST_PY = python ${srcdir}/test.py 26 29 27 30 # applies to both programs … … 41 44 TEST_FLAGS = $(if $(test), 2> $(test), ) 42 45 AM_CFLAGS = ${TEST_FLAGS} ${BUILD_FLAGS} 43 CC = @CFA_BINDIR@/@CFA_NAME@46 CC = ${abs_top_builddir}/src/driver/cfa -DIN_DIR="${srcdir}/.in/" 44 47 45 48 .PHONY : list … … 53 56 54 57 all-local : 55 @+ python test.py--debug=${debug} ${concurrent} ${quick_test}58 @+${TEST_PY} --debug=${debug} ${concurrent} ${quick_test} 56 59 57 60 all-tests : 58 @+ python test.py--all --debug=${debug} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program61 @+${TEST_PY} --all --debug=${debug} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program 59 62 60 63 clean-local : … … 62 65 63 66 list : 64 @+ python test.py--list ${concurrent}67 @+${TEST_PY} --list ${concurrent} 65 68 66 69 concurrency : 67 @+ python test.py--debug=${debug} -Iconcurrent70 @+${TEST_PY} --debug=${debug} -Iconcurrent 68 71 69 .dummy : .dummy.c @CFA_BINDIR@/@CFA_NAME@ 70 ${CC} ${BUILD_FLAGS} -XCFA -n ${<} -o ${@} #don't use CFLAGS, this rule is not a real test 71 72 73 % : %.c @CFA_BINDIR@/@CFA_NAME@ 74 ${CC} ${AM_CFLAGS} ${CFLAGS} ${<} -o ${@} 72 % : ${srcdir}/%.c @CFA_BINDIR@/@CFA_NAME@ 73 $(COMPILE) $(abspath ${<}) -o ${@} 75 74 76 75 declarationSpecifier: declarationSpecifier.c @CFA_BINDIR@/@CFA_NAME@ 77 $ {CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<}-o ${@}76 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 78 77 79 78 gccExtensions : gccExtensions.c @CFA_BINDIR@/@CFA_NAME@ 80 $ {CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<}-o ${@}79 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 81 80 82 81 extension : extension.c @CFA_BINDIR@/@CFA_NAME@ 83 $ {CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<}-o ${@}82 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 84 83 85 84 attributes : attributes.c @CFA_BINDIR@/@CFA_NAME@ 86 $ {CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<}-o ${@}85 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 87 86 88 87 functions: functions.c @CFA_BINDIR@/@CFA_NAME@ 89 $ {CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<}-o ${@}88 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 90 89 91 90 KRfunctions : KRfunctions.c @CFA_BINDIR@/@CFA_NAME@ 92 $ {CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<}-o ${@}91 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 93 92 94 93 sched-ext-parse : sched-ext-parse.c @CFA_BINDIR@/@CFA_NAME@ 95 $ {CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<}-o ${@}94 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 96 95 97 96 gmp : gmp.c @CFA_BINDIR@/@CFA_NAME@ 98 $ {CC} ${AM_CFLAGS} ${CFLAGS} -lgmp ${<}-o ${@}97 $(COMPILE) -lgmp $(abspath ${<}) -o ${@} 99 98 100 99 completeTypeError : completeTypeError.c @CFA_BINDIR@/@CFA_NAME@ 101 $ {CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<}-o ${@}100 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 102 101 103 102 typedefRedef-ERR1: typedefRedef.c @CFA_BINDIR@/@CFA_NAME@ 104 $ {CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<}-o ${@}103 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 105 104 106 105 alloc-ERROR: alloc.c @CFA_BINDIR@/@CFA_NAME@ 107 $ {CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<}-o ${@}106 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 108 107 109 108 fallthrough-ERROR: fallthrough.c @CFA_BINDIR@/@CFA_NAME@ 110 $ {CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<}-o ${@}109 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 111 110 112 111 nested-types-ERR1: nested-types.c @CFA_BINDIR@/@CFA_NAME@ 113 $ {CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<}-o ${@}112 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 114 113 115 114 nested-types-ERR2: nested-types.c @CFA_BINDIR@/@CFA_NAME@ 116 $ {CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 ${<}-o ${@}115 $(COMPILE) -DERR2 $(abspath ${<}) -o ${@} 117 116 118 117 # Constructor/destructor tests 119 118 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@ 120 $ {CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<}-o ${@}119 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 121 120 122 121 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@ 123 $ {CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 ${<}-o ${@}122 $(COMPILE) -DERR2 $(abspath ${<}) -o ${@} 124 123 125 124 raii/memberCtors-ERR1: raii/memberCtors.c @CFA_BINDIR@/@CFA_NAME@ 126 $ {CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<}-o ${@}125 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 127 126 128 127 raii/ctor-autogen-ERR1: raii/ctor-autogen.c @CFA_BINDIR@/@CFA_NAME@ 129 $ {CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<}-o ${@}128 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 130 129 131 130 # Warnings 132 131 warnings/self-assignment: warnings/self-assignment.c @CFA_BINDIR@/@CFA_NAME@ 133 $ {CC} ${AM_CFLAGS} ${CFLAGS} ${<}2> ${@} -fsyntax-only132 $(COMPILE) $(abspath ${<}) 2> ${@} -fsyntax-only 134 133 135 134 #builtins 136 135 builtins/sync: builtins/sync.c @CFA_BINDIR@/@CFA_NAME@ 137 $ {CC} ${AM_CFLAGS} ${CFLAGS} ${<}2> ${@} -fsyntax-only136 $(COMPILE) $(abspath ${<}) 2> ${@} -fsyntax-only
Note:
See TracChangeset
for help on using the changeset viewer.