mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-16 18:52:25 +01:00
Add trivial Makefile to run tests.
This commit is contained in:
parent
2846367109
commit
456bbf1d35
18
projects/SelfTest/Makefile
Normal file
18
projects/SelfTest/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
SOURCES = ApproxTests.cpp ClassTests.cpp ConditionTests.cpp \
|
||||
ExceptionTests.cpp GeneratorTests.cpp MessageTests.cpp \
|
||||
MiscTests.cpp TestMain.cpp TrickyTests.cpp \
|
||||
catch_self_test.cpp
|
||||
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
|
||||
|
||||
CXXFLAGS = -I../../include
|
||||
|
||||
main: $(OBJECTS)
|
||||
$(CXX) -o $@ $^
|
||||
|
||||
junit: main
|
||||
./main -r junit > junit.xml
|
||||
|
||||
clean:
|
||||
rm -f $(OBJECTS) main junit.xml
|
||||
|
||||
.PHONY: main junit
|
Loading…
Reference in New Issue
Block a user