changeset 201:e07c05ea8952

Run the tests after building.
author Lucas Thompson <dev@lucas.im>
date Thu, 09 Feb 2017 12:04:58 +0000
parents e2eb1ccf3deb
children c9471a9f4b71
files Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Feb 09 12:00:10 2017 +0000
+++ b/Makefile	Thu Feb 09 12:04:58 2017 +0000
@@ -10,7 +10,7 @@
 
 LDFLAGS		+= -ldl
 
-TEST_SRCS := test/vamp-client/tst_PluginStub.cpp
+TEST_SRCS 	:= test/vamp-client/tst_PluginStub.cpp
 
 all:	o bin bin/piper-convert bin/piper-vamp-simple-server bin/test-suite
 
@@ -28,6 +28,7 @@
 	
 bin/test-suite: test/main.cpp $(TEST_SRCS)
 	c++ $(CXXFLAGS) $(INCFLAGS) $< $(TEST_SRCS) -o $@ $(LDFLAGS)
+	bin/test-suite
 
 o/piper.capnp.o:	vamp-capnp/piper.capnp.c++
 	c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@