]> git.llucax.com Git - software/eventxx.git/commitdiff
Add 'test' rule to test/Makefile to simplify testing.
authorLeandro Lucarella <llucax+eventxx@gmail.com>
Sun, 20 May 2007 00:08:58 +0000 (00:08 +0000)
committerLeandro Lucarella <llucax+eventxx@gmail.com>
Sun, 20 May 2007 00:08:58 +0000 (00:08 +0000)
test/Makefile

index 091143aeb5106609b6d363af276e0d56606fccf0..f36f2537d2b4992c063827b7be013eb151ca498f 100644 (file)
@@ -15,6 +15,17 @@ targets=bench test-eof test-time test-weof trivial c-way functor-way \
 
 all: $(targets)
 
+test: all
+       @echo Running tests...
+       @echo
+       @for f in $(targets); do \
+               echo -------------------------------------------------------; \
+               echo runnig $$f; \
+               echo -------------------------------------------------------; \
+               ./$$f; \
+               echo; \
+       done
+
 clean:
        $(RM) -fv *.o $(targets)