Allow having C++ test cases for C backend
Support compiling and running either _runme.c or _runme.cxx files for the given test (but not both). Add a simple C++ test file to check that it actually works.
This commit is contained in:
parent
5219338160
commit
3765a08743
7 changed files with 35 additions and 12 deletions
|
|
@ -7,7 +7,7 @@ INTERFACE = example.i
|
|||
|
||||
check: build
|
||||
$(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' \
|
||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' c_run
|
||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' RUNME_EXT=c c_run
|
||||
|
||||
build:
|
||||
$(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' CXXSRCS='$(CXXSRCS)' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue