aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.in')
-rw-r--r--test/Makefile.in13
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