Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    r107b01a re3a5a73  
    2323installed=no
    2424
     25INSTALL_FLAGS=-in-tree
     26DEBUG_FLAGS=-debug -O0
     27
    2528quick_test=avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes
    2629
     
    2831timeouts=
    2932
    30 TEST_PY = python ${builddir}/test.py
     33TEST_PY = python3 ${builddir}/test.py
    3134
    3235# applies to both programs
     
    3639        -Wno-unused-function \
    3740        -quiet @CFA_FLAGS@ \
    38         -DIN_DIR="${srcdir}/.in/"
     41        -DIN_DIR="${abs_srcdir}/.in/"
    3942
    4043AM_CFLAGS += ${DEBUG_FLAGS} ${INSTALL_FLAGS} ${ARCH_FLAGS}
     
    4851
    4952avl_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
     53# automake doesn't know we still need C/CPP rules so pretend like we have a C program
     54_dummy_hack_SOURCES = .dummy_hack.c .dummy_hackxx.cpp
    5255
    5356#----------------------------------------------------------------------------------------------------------------
     
    7477        @echo "int main() { return 0; }" > ${@}
    7578
     79.dummy_hackxx.cpp:
     80        @echo "int bar() { return 0; }" > ${@}
     81
    7682concurrency :
    7783        @+${TEST_PY} --debug=${debug}  --install=${installed} -Iconcurrent
     
    8288% : %.cfa $(CFACC)
    8389        $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
     90
     91% : %.cpp
     92        $(PRETTY_PATH) $(CXXCOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    8493
    8594declarationSpecifier: declarationSpecifier.cfa $(CFACC)
Note: See TracChangeset for help on using the changeset viewer.