Browse code

Add integration test helper to Makefile

John Hawthorn authored on 28/12/2016 08:48:09
Showing 1 changed files

  • Makefile index a467932..ebb6ad2 100644
... ...
@@ -20,6 +20,9 @@ all: fzy
20 20
 test/fzytest: $(TESTOBJECTS)
21 21
 	$(CC) $(CFLAGS) $(CCFLAGS) -Isrc -o $@ $(TESTOBJECTS) $(LIBS)
22 22
 
23
+integration_test: fzy
24
+	cd test/integration && bundle && bundle exec ruby integration_test.rb
25
+
23 26
 test: check
24 27
 check: test/fzytest
25 28
 	$(DEBUGGER) ./test/fzytest
... ...
@@ -50,4 +53,4 @@ clean:
50 53
 veryclean: clean
51 54
 	rm -f config.h
52 55
 
53
-.PHONY: test check all clean veryclean install fmt
56
+.PHONY: test check all clean veryclean install fmt integration_test