diff options
author | Max Horn | 2006-03-29 10:35:45 +0000 |
---|---|---|
committer | Max Horn | 2006-03-29 10:35:45 +0000 |
commit | b1514bb833339526b53e9638bffa5eb214fae8ef (patch) | |
tree | 26f084bb3f5a38039446d26962891b3df6d712bb /test/module.mk | |
parent | ebeaa6a5c10101cab91bc151d69a6f31eed6b819 (diff) | |
download | scummvm-rg350-b1514bb833339526b53e9638bffa5eb214fae8ef.tar.gz scummvm-rg350-b1514bb833339526b53e9638bffa5eb214fae8ef.tar.bz2 scummvm-rg350-b1514bb833339526b53e9638bffa5eb214fae8ef.zip |
Added a minimal README for our unit tests, and moved their build rule to a new test/module.mk file
svn-id: r21490
Diffstat (limited to 'test/module.mk')
-rw-r--r-- | test/module.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/module.mk b/test/module.mk new file mode 100644 index 0000000000..f5cd40f117 --- /dev/null +++ b/test/module.mk @@ -0,0 +1,17 @@ +###################################################################### +# Unit/regression tests, based on CxxTest. +# Use the 'test' target to run them. +# Edit 'TESTS' to add more tests. +###################################################################### + +CXXTEST := test/cxxtest +TESTS := test/common/*.h +CPPFLAGS += -I$(CXXTEST) +test: runner + ./runner +runner: runner.o common/libcommon.a + $(CXX) -o $@ $+ +runner.cpp: $(TESTS) + $(CXXTEST)/cxxtestgen.py --error-printer -o $@ $+ + +.PHONY: test |