test/Makefile
changeset 50 e713c3e6faf1
parent 48 9ff5d2dfa75a
child 66 805bfae3cdc4
     1.1 --- a/test/Makefile	Sun Feb 08 12:01:58 2015 -0500
     1.2 +++ b/test/Makefile	Sun Feb 08 12:44:29 2015 -0500
     1.3 @@ -9,8 +9,8 @@
     1.4  
     1.5  TARGET=pEpEngineTest
     1.6  
     1.7 -UNIT_TEST_SOURCE=$(wildcard *_test.cc)
     1.8 -UNIT_TESTS=$(subst .cc,,$(UNIT_TEST_SOURCE))
     1.9 +UNIT_TESTS_SOURCE=$(wildcard *_test.cc)
    1.10 +UNIT_TESTS=$(subst .cc,,$(UNIT_TESTS_SOURCE))
    1.11  
    1.12  all: $(TARGET) $(UNIT_TESTS)
    1.13  
    1.14 @@ -23,4 +23,6 @@
    1.15  	LD_LIBRARY_PATH=~/lib:../src ./pEpEngineTest
    1.16  
    1.17  unit_tests: $(UNIT_TESTS)
    1.18 -	LD_LIBRARY_PATH=~/lib:../src ./unit_tests
    1.19 +	for t in ./*_test ; do \
    1.20 +		LD_LIBRARY_PATH=~/lib:../src $$t ; \
    1.21 +	done