Changeset 5e44ac2 for tests/Makefile.in
- 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.in (moved) (moved from src/tests/Makefile.in ) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/Makefile.in
rd7d63e5 r5e44ac2 91 91 build_triplet = @build@ 92 92 host_triplet = @host@ 93 @BUILD_DEBUG_FALSE@am__append_1 = -nodebug94 @BUILD_DEBUG_TRUE@@BUILD_RELEASE_FALSE@am__append_2 = -debug95 @BUILD_DEBUG_TRUE@@BUILD_RELEASE_TRUE@am__append_3 = ${DEBUG_FLAGS}96 93 EXTRA_PROGRAMS = fstream_test$(EXEEXT) avl_test$(EXEEXT) 97 subdir = src/tests94 subdir = tests 98 95 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 99 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 96 am__aclocal_m4_deps = $(top_srcdir)/automake/cfa.m4 \ 97 $(top_srcdir)/configure.ac 100 98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 101 99 $(ACLOCAL_M4) … … 182 180 BACKEND_CC = @BACKEND_CC@ 183 181 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 184 BUILD_IN_TREE_FLAGS_NOLIB = @BUILD_IN_TREE_FLAGS_NOLIB@185 182 CC = @CFACC@ 186 183 CCAS = @CCAS@ … … 213 210 EXEEXT = @EXEEXT@ 214 211 GREP = @GREP@ 212 HOST_FLAGS = @HOST_FLAGS@ 215 213 INSTALL = @INSTALL@ 216 214 INSTALL_DATA = @INSTALL_DATA@ … … 222 220 LEXLIB = @LEXLIB@ 223 221 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ 222 LIBCFA_TARGET_DIRS = @LIBCFA_TARGET_DIRS@ 223 LIBCFA_TARGET_MAKEFILES = @LIBCFA_TARGET_MAKEFILES@ 224 224 LIBOBJS = @LIBOBJS@ 225 225 LIBS = @LIBS@ 226 226 LTLIBOBJS = @LTLIBOBJS@ 227 MACHINE_TYPE = @MACHINE_TYPE@228 227 MAKEINFO = @MAKEINFO@ 229 228 MKDIR_P = @MKDIR_P@ … … 241 240 SHELL = @SHELL@ 242 241 STRIP = @STRIP@ 242 TARGET_HOSTS = @TARGET_HOSTS@ 243 243 VERSION = @VERSION@ 244 244 YACC = @YACC@ … … 296 296 top_builddir = @top_builddir@ 297 297 top_srcdir = @top_srcdir@ 298 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 298 299 debug = yes 300 installed = no 299 301 quick_test = avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes 300 @BUILD_CONCURRENCY_FALSE@concurrent = '-Econcurrent' 301 @BUILD_CONCURRENCY_TRUE@concurrent = 302 concurrent = 302 303 TEST_PY = python ${srcdir}/test.py 303 304 304 305 # applies to both programs 305 306 AM_CFLAGS = $(if $(test), 2> $(test), ) -g -Wall -Wno-unused-function \ 306 -quiet @CFA_FLAGS@ -DIN_DIR="${srcdir}/.in/" \ 307 @BUILD_IN_TREE_FLAGS@ $(am__append_1) $(am__append_2) \ 308 $(am__append_3) 307 -quiet @CFA_FLAGS@ -DIN_DIR="${srcdir}/.in/" ${DEBUG_FLAGS} \ 308 ${INSTALL_FLAGS} ${ARCH_FLAGS} 309 309 fstream_test_SOURCES = fstream_test.c 310 310 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 311 312 # SKULLDUGGERY like libcfa/Makefile.am prevent extensionless headers from being generated313 # however, here it is more complicated because it must match the dependencies based on how314 # they are generated by gcc315 headers = $(shell find $(top_srcdir)/src/libcfa -type f ! -name "*.*")316 headers_real = $(shell realpath --relative-to=$(top_srcdir)/src/libcfa $(headers))317 headers_deps = $(addprefix %/, $(headers_real))318 311 all: all-am 319 312 320 313 .SUFFIXES: 321 .SUFFIXES: .c .o .obj 314 .SUFFIXES: .c .o .obj .validate 322 315 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 323 316 @for dep in $?; do \ … … 329 322 esac; \ 330 323 done; \ 331 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/tests/Makefile'; \324 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \ 332 325 $(am__cd) $(top_srcdir) && \ 333 $(AUTOMAKE) --foreign src/tests/Makefile326 $(AUTOMAKE) --foreign tests/Makefile 334 327 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 335 328 @case '$?' in \ … … 617 610 618 611 619 .PHONY : list 620 612 .PHONY: list .validate 613 .INTERMEDIATE: .validate .validate.c 614 615 #---------------------------------------------------------------------------------------------------------------- 621 616 all-local : 622 @+${TEST_PY} --debug=${debug} ${concurrent} ${quick_test}617 @+${TEST_PY} --debug=${debug} --install=${installed} ${concurrent} ${quick_test} 623 618 624 619 all-tests : 625 @+${TEST_PY} --all --debug=${debug} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program620 @+${TEST_PY} --all --debug=${debug} --install=${installed} ${concurrent} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program 626 621 627 622 clean-local : … … 631 626 @+${TEST_PY} --list ${concurrent} 632 627 628 .validate: .validate.c 629 $(COMPILE) .validate.c -fsyntax-only -Wall -Wextra -Werror 630 631 .validate.c: 632 @echo "int main() { return 0; }" > ${@} 633 633 634 concurrency : 634 @+${TEST_PY} --debug=${debug} -Iconcurrent 635 $(headers_deps) : 636 echo "Dummy rule, should never be called" 637 638 # %/stdlib: 639 # echo "Dummy rule, should never be called" 640 635 @+${TEST_PY} --debug=${debug} --install=${installed} -Iconcurrent 636 637 #---------------------------------------------------------------------------------------------------------------- 641 638 # implicit rule so not all test require a rule 642 639 % : %.c $(CC)
Note:
See TracChangeset
for help on using the changeset viewer.