Changeset a4248de1
- Timestamp:
- Jul 30, 2018, 10:51:33 AM (6 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:
- 04e367c, 0dc3ac3, 944a90f, 95b1e28
- Parents:
- 02559df
- Location:
- src/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/Makefile.am
r02559df ra4248de1 80 80 81 81 # SKULLDUGGERY like libcfa/Makefile.am prevent extensionless headers from being generated 82 # however, here it is more complicated because it must match the dependencies exactly 83 # depencies seem to have the absolute path to the build directory and relative path 84 # to the headers from there 82 # however, here it is more complicated because it must match the dependencies based on how 83 # they are generated by gcc 85 84 headers = $(shell find $(top_srcdir)/src/libcfa -type f ! -name "*.*") 86 headers_real = $(shell realpath --relative-to=$(top_ builddir)$(headers))87 headers_deps = $(addprefix $(abs_top_builddir)/, $(headers))85 headers_real = $(shell realpath --relative-to=$(top_srcdir)/src/libcfa $(headers)) 86 headers_deps = $(addprefix %/, $(headers_real)) 88 87 $(headers_deps) : 89 88 echo "Dummy rule, should never be called" 90 89 90 # %/stdlib: 91 # echo "Dummy rule, should never be called" 92 91 93 # implicit rule so not all test require a rule 92 94 % : %.c $(CC) 95 echo $(headers_deps) 93 96 $(COMPILE) $(abspath ${<}) -o ${@} 94 97 -
src/tests/Makefile.in
r02559df ra4248de1 315 315 # to the headers from there 316 316 headers = $(shell find $(top_srcdir)/src/libcfa -type f ! -name "*.*") 317 headers_real = $(shell realpath --relative-to=$(top_ builddir)$(headers))318 headers_deps = $(addprefix $(abs_top_builddir)/, $(headers))317 headers_real = $(shell realpath --relative-to=$(top_srcdir)/src/libcfa $(headers)) 318 headers_deps = $(addprefix %/, $(headers_real)) 319 319 all: all-am 320 320 … … 637 637 echo "Dummy rule, should never be called" 638 638 639 # %/stdlib: 640 # echo "Dummy rule, should never be called" 641 639 642 # implicit rule so not all test require a rule 640 643 % : %.c $(CC) 644 echo $(headers_deps) 641 645 $(COMPILE) $(abspath ${<}) -o ${@} 642 646 -
src/tests/test.py
r02559df ra4248de1 219 219 make('clean', redirects = '> /dev/null 2>&1') 220 220 221 # automake doesn't clean the dependencies so do it by hand222 sh("find %s -type d -name .deps -delete" % settings.BUIDDIR)223 224 221 # create the executor for our jobs and handle the signal properly 225 222 pool = setupPool(jobs)
Note: See TracChangeset
for help on using the changeset viewer.