diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-09-08 18:18:56 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-09-08 18:18:56 +0400 |
commit | 946ddcfbc4c7cdd3df426eb5f9a15f4a3fc3c640 (patch) | |
tree | b47dc46e90b8b1e2c84d5f72070e90b6b546ed52 /test/Makefile.in | |
parent | 32d41689d6328e9075bf4c6a822f0fe22207838b (diff) | |
download | rspamd-946ddcfbc4c7cdd3df426eb5f9a15f4a3fc3c640.tar.gz rspamd-946ddcfbc4c7cdd3df426eb5f9a15f4a3fc3c640.zip |
* Add initial test suite using glib test suite
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Makefile.in b/test/Makefile.in new file mode 100644 index 000000000..d7b6957c8 --- /dev/null +++ b/test/Makefile.in @@ -0,0 +1,13 @@ +.PHONY: clean + +all: rspamd_test_suite + +rspamd_test_suite: $(OBJECTS) ../url.o ../util.o + $(CC) $(PTHREAD_LDFLAGS) $(LDFLAGS) $(OBJECTS) ../url.o ../util.o $(LIBS) -o rspamd_test_suite + +run_test: rspamd_test_suite + gtester --verbose -k -o=rspamd_test.xml ./rspamd_test_suite + less rspamd_test.xml && rm -f rspamd_test.xml + +clean: + rm -f *.o rspamd_test_suite *.core rspamd_test.xml |