Changes in tests/Makefile.in [dcfedca:e3a5a73]
- File:
-
- 1 edited
-
tests/Makefile.in (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/Makefile.in
rdcfedca re3a5a73 235 235 CYGPATH_W = @CYGPATH_W@ 236 236 DEFS = @DEFS@ 237 DEMANGLER = @DEMANGLER@238 237 DEPDIR = @DEPDIR@ 239 238 DLLTOOL = @DLLTOOL@ … … 261 260 LIBCFA_TARGET_DIRS = @LIBCFA_TARGET_DIRS@ 262 261 LIBCFA_TARGET_MAKEFILES = @LIBCFA_TARGET_MAKEFILES@ 263 LIBDEMANGLE = @LIBDEMANGLE@264 262 LIBOBJS = @LIBOBJS@ 265 263 LIBS = @LIBS@ … … 377 375 debug = yes 378 376 installed = no 379 archiveerrors =380 377 INSTALL_FLAGS = -in-tree 381 378 DEBUG_FLAGS = -debug -O0 … … 389 386 -quiet @CFA_FLAGS@ -DIN_DIR="${abs_srcdir}/.in/" \ 390 387 ${DEBUG_FLAGS} ${INSTALL_FLAGS} ${ARCH_FLAGS} 391 PRETTY_PATH = mkdir -p $(dir $(abspath ${@})) &&cd ${srcdir} &&388 PRETTY_PATH = cd ${srcdir} && 392 389 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 393 390 # automake doesn't know we still need C/CPP rules so pretend like we have a C program 394 391 _dummy_hack_SOURCES = .dummy_hack.c .dummy_hackxx.cpp 395 396 #----------------------------------------------------------------------------------------------------------------397 398 # Use for all tests, make sure the path are correct and all flags are added399 CFACOMPILETEST = $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) $($(shell echo "${@}_FLAGS" | sed 's/-\|\//_/g'))400 401 # Use for tests that either generate an executable, print directyl to stdout or the make command is expected to fail402 CFATEST_STDOUT = $(CFACOMPILETEST) -o $(abspath ${@})403 404 # Use for tests where the make command is expecte to succeed but the expected.txt should be compared to stderr405 CFATEST_STDERR = $(CFACOMPILETEST) 2> $(abspath ${@})406 407 #------------------------------------------------------------------------------408 # TARGET WITH STANDARD RULE BUT CUSTOM FLAGS409 #------------------------------------------------------------------------------410 # Expected failures411 declarationSpecifier_FLAGS = -CFA -XCFA -p412 gccExtensions_FLAGS = -CFA -XCFA -p413 extension_FLAGS = -CFA -XCFA -p414 attributes_FLAGS = -CFA -XCFA -p415 functions_FLAGS = -CFA -XCFA -p416 KRfunctions_FLAGS = -CFA -XCFA -p417 gmp_FLAGS = -lgmp418 419 #------------------------------------------------------------------------------420 # Expected failures421 completeTypeError_FLAGS = -DERR1422 392 all: all-am 423 393 … … 771 741 #---------------------------------------------------------------------------------------------------------------- 772 742 all-local : 773 @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors}${concurrent} ${timeouts} ${quick_test}743 @+${TEST_PY} --debug=${debug} --install=${installed} ${concurrent} ${timeouts} ${quick_test} 774 744 775 745 all-tests : 776 @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors}${concurrent} ${timeouts} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program746 @+${TEST_PY} --debug=${debug} --install=${installed} ${concurrent} ${timeouts} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program 777 747 778 748 clean-local : … … 802 772 # implicit rule so not all test require a rule 803 773 % : %.cfa $(CFACC) 804 $( CFATEST_STDOUT)774 $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 805 775 806 776 % : %.cpp 807 777 $(PRETTY_PATH) $(CXXCOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 808 778 809 #------------------------------------------------------------------------------ 810 # CUSTOM TARGET 811 #------------------------------------------------------------------------------ 812 typedefRedef-ERR1: typedefRedef.cfa $(CFACC) 813 $(CFATEST_STDOUT) -DERR1 814 815 alloc-ERROR: alloc.cfa $(CFACC) 816 $(CFATEST_STDOUT) -DERR1 817 818 nested-types-ERR1: nested-types.cfa $(CFACC) 819 $(CFATEST_STDOUT) -DERR1 820 821 nested-types-ERR2: nested-types.cfa $(CFACC) 822 $(CFATEST_STDOUT) -DERR2 823 824 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.cfa $(CFACC) 825 $(CFATEST_STDOUT) -DERR1 826 827 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.cfa $(CFACC) 828 $(CFATEST_STDOUT) -DERR2 829 830 raii/memberCtors-ERR1: raii/memberCtors.cfa $(CFACC) 831 $(CFATEST_STDOUT) -DERR1 832 833 raii/ctor-autogen-ERR1: raii/ctor-autogen.cfa $(CFACC) 834 $(CFATEST_STDOUT) -DERR1 779 declarationSpecifier: declarationSpecifier.cfa $(CFACC) 780 $(PRETTY_PATH) $(CFACOMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 781 782 gccExtensions : gccExtensions.cfa $(CFACC) 783 $(PRETTY_PATH) $(CFACOMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 784 785 extension : extension.cfa $(CFACC) 786 $(PRETTY_PATH) $(CFACOMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 787 788 attributes : attributes.cfa $(CFACC) 789 $(PRETTY_PATH) $(CFACOMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 790 791 functions: functions.cfa $(CFACC) 792 $(PRETTY_PATH) $(CFACOMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 793 794 KRfunctions : KRfunctions.cfa $(CFACC) 795 $(PRETTY_PATH) $(CFACOMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 796 797 sched-ext-parse : sched-ext-parse.c $(CFACC) 798 $(PRETTY_PATH) $(CFACOMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 799 800 gmp : gmp.cfa $(CFACC) 801 $(PRETTY_PATH) $(CFACOMPILE) -lgmp $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 835 802 836 803 #builtins 837 804 builtins/sync: builtins/sync.cfa $(CFACC) 838 $(CFATEST_STDERR) -fsyntax-only 805 $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) 2> $(abspath ${@}) -fsyntax-only 806 807 #------------------------------------------------------------------------------ 808 809 #To make errors path independent we need to cd into the correct directories 810 completeTypeError : completeTypeError.cfa $(CFACC) 811 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 812 813 typedefRedef-ERR1: typedefRedef.cfa $(CFACC) 814 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 815 816 alloc-ERROR: alloc.cfa $(CFACC) 817 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 818 819 fallthrough-ERROR: fallthrough.cfa $(CFACC) 820 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 821 822 nested-types-ERR1: nested-types.cfa $(CFACC) 823 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 824 825 nested-types-ERR2: nested-types.cfa $(CFACC) 826 $(PRETTY_PATH) $(CFACOMPILE) -DERR2 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 827 828 # Constructor/destructor tests 829 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.cfa $(CFACC) 830 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 831 832 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.cfa $(CFACC) 833 $(PRETTY_PATH) $(CFACOMPILE) -DERR2 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 834 835 raii/memberCtors-ERR1: raii/memberCtors.cfa $(CFACC) 836 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 837 838 raii/ctor-autogen-ERR1: raii/ctor-autogen.cfa $(CFACC) 839 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 839 840 840 841 # Warnings 841 842 warnings/self-assignment: warnings/self-assignment.cfa $(CFACC) 842 $( CFATEST_STDERR) -fsyntax-only843 $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) 2> $(abspath ${@}) -fsyntax-only 843 844 844 845 # Tell versions [3.59,3.63) of GNU make to not export all variables.
Note:
See TracChangeset
for help on using the changeset viewer.