Changeset 690166d for tests/Makefile.am
- Timestamp:
- Jan 11, 2019, 3:21:59 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- def9d4e
- Parents:
- 0689cd9 (diff), 52ffa30 (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) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/Makefile.am
r0689cd9 r690166d 16 16 17 17 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 18 ACLOCAL_AMFLAGS = -I automake 18 19 19 20 include $(top_srcdir)/src/cfa.make … … 44 45 .PHONY: list .validate 45 46 .INTERMEDIATE: .validate .validate.cfa 46 EXTRA_PROGRAMS = avl_test # build but do not install47 EXTRA_PROGRAMS = avl_test .dummy_hack # build but do not install 47 48 48 avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c 49 avl_test_SOURCES = avltree/avl_test.cfa avltree/avl0.cfa avltree/avl1.cfa avltree/avl2.cfa avltree/avl3.cfa avltree/avl4.cfa avltree/avl-private.cfa 50 # automake doesn't know we still need C rules so pretend like we have a C program 51 _dummy_hack_SOURCES = .dummy_hack.c 49 52 50 53 #---------------------------------------------------------------------------------------------------------------- … … 67 70 @echo "int main() { return 0; }" > ${@} 68 71 69 dummy_hack.c: 72 # automake doesn't know we still need C rules so pretend like we have a C program 73 .dummy_hack.c: 70 74 @echo "int main() { return 0; }" > ${@} 71 75 … … 76 80 77 81 # implicit rule so not all test require a rule 78 % : %.c $(CFACC)79 $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})80 81 82 % : %.cfa $(CFACC) 82 83 $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) … … 107 108 108 109 #builtins 109 builtins/sync: builtins/sync.c $(CFACC)110 builtins/sync: builtins/sync.cfa $(CFACC) 110 111 $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) 2> $(abspath ${@}) -fsyntax-only 111 112 … … 132 133 133 134 # Constructor/destructor tests 134 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c $(CFACC)135 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.cfa $(CFACC) 135 136 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 136 137 137 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c $(CFACC)138 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.cfa $(CFACC) 138 139 $(PRETTY_PATH) $(CFACOMPILE) -DERR2 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 139 140 140 raii/memberCtors-ERR1: raii/memberCtors.c $(CFACC)141 raii/memberCtors-ERR1: raii/memberCtors.cfa $(CFACC) 141 142 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 142 143 143 raii/ctor-autogen-ERR1: raii/ctor-autogen.c $(CFACC)144 raii/ctor-autogen-ERR1: raii/ctor-autogen.cfa $(CFACC) 144 145 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 145 146 146 147 # Warnings 147 warnings/self-assignment: warnings/self-assignment.c $(CFACC)148 warnings/self-assignment: warnings/self-assignment.cfa $(CFACC) 148 149 $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) 2> $(abspath ${@}) -fsyntax-only
Note:
See TracChangeset
for help on using the changeset viewer.