Changeset 2b10f95 for tests/Makefile.am


Ignore:
Timestamp:
Mar 27, 2019, 11:09:15 AM (5 years ago)
Author:
tdelisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
86fb8f2
Parents:
1bb2488
Message:

Improved printing, added support for cpp tests and fix byte string concatenation error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    r1bb2488 r2b10f95  
    4848
    4949avl_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
     50# automake doesn't know we still need C/CPP rules so pretend like we have a C program
     51_dummy_hack_SOURCES = .dummy_hack.c .dummy_hackxx.cpp
    5252
    5353#----------------------------------------------------------------------------------------------------------------
     
    7474        @echo "int main() { return 0; }" > ${@}
    7575
     76.dummy_hackxx.cpp:
     77        @echo "int bar() { return 0; }" > ${@}
     78
    7679concurrency :
    7780        @+${TEST_PY} --debug=${debug}  --install=${installed} -Iconcurrent
     
    8285% : %.cfa $(CFACC)
    8386        $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
     87
     88% : %.cpp
     89        $(PRETTY_PATH) $(CXXCOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    8490
    8591declarationSpecifier: declarationSpecifier.cfa $(CFACC)
Note: See TracChangeset for help on using the changeset viewer.