Changeset 5e44ac2 for tests/Makefile.am
- Timestamp:
- Aug 15, 2018, 1:58:02 PM (7 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:
- 90cac45
- Parents:
- d7d63e5 (diff), 7bd4cc9 (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 moved
-
tests/Makefile.am (moved) (moved from src/tests/Makefile.am ) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/Makefile.am
rd7d63e5 r5e44ac2 15 15 ############################################################################### 16 16 17 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 17 18 18 19 debug=yes 20 installed=no 19 21 20 22 quick_test=avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes 21 23 22 if BUILD_CONCURRENCY23 24 concurrent= 24 else25 concurrent='-Econcurrent'26 endif27 25 28 26 TEST_PY = python ${srcdir}/test.py … … 34 32 -Wno-unused-function \ 35 33 -quiet @CFA_FLAGS@ \ 36 -DIN_DIR="${srcdir}/.in/" \ 37 @BUILD_IN_TREE_FLAGS@ 34 -DIN_DIR="${srcdir}/.in/" 38 35 39 if !BUILD_DEBUG 40 AM_CFLAGS += -nodebug 41 else 42 if !BUILD_RELEASE 43 AM_CFLAGS += -debug 44 else 45 AM_CFLAGS += ${DEBUG_FLAGS} 46 endif 47 endif 36 AM_CFLAGS += ${DEBUG_FLAGS} ${INSTALL_FLAGS} ${ARCH_FLAGS} 48 37 49 38 CC = @CFACC@ 50 39 51 .PHONY : list 40 .PHONY: list .validate 41 .INTERMEDIATE: .validate .validate.c 52 42 EXTRA_PROGRAMS = fstream_test avl_test # build but do not install 53 43 … … 56 46 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 57 47 48 #---------------------------------------------------------------------------------------------------------------- 58 49 all-local : 59 @+${TEST_PY} --debug=${debug} ${concurrent} ${quick_test}50 @+${TEST_PY} --debug=${debug} --install=${installed} ${concurrent} ${quick_test} 60 51 61 52 all-tests : 62 @+${TEST_PY} --all --debug=${debug} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program53 @+${TEST_PY} --all --debug=${debug} --install=${installed} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program 63 54 64 55 clean-local : … … 68 59 @+${TEST_PY} --list ${concurrent} 69 60 61 .validate: .validate.c 62 $(COMPILE) .validate.c -fsyntax-only -Wall -Wextra -Werror 63 64 .validate.c: 65 @echo "int main() { return 0; }" > ${@} 66 70 67 concurrency : 71 @+${TEST_PY} --debug=${debug} -Iconcurrent68 @+${TEST_PY} --debug=${debug} --install=${installed} -Iconcurrent 72 69 73 # SKULLDUGGERY like libcfa/Makefile.am prevent extensionless headers from being generated 74 # however, here it is more complicated because it must match the dependencies based on how 75 # they are generated by gcc 76 headers = $(shell find $(top_srcdir)/src/libcfa -type f ! -name "*.*") 77 headers_real = $(shell realpath --relative-to=$(top_srcdir)/src/libcfa $(headers)) 78 headers_deps = $(addprefix %/, $(headers_real)) 79 $(headers_deps) : 80 echo "Dummy rule, should never be called" 81 82 # %/stdlib: 83 # echo "Dummy rule, should never be called" 84 70 #---------------------------------------------------------------------------------------------------------------- 85 71 # implicit rule so not all test require a rule 86 72 % : %.c $(CC)
Note:
See TracChangeset
for help on using the changeset viewer.