Module: xenomai-forge
Branch: master
Commit: e91b8a8c2b1dbf1d11ea9e10fc8ba016589a73de
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=e91b8a8c2b1dbf1d11ea9e10fc8ba016589a73de

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sat Feb 15 15:39:07 2014 +0100

testsuite: add rule for running tests individually

---

 lib/alchemy/testsuite/Makefile |    3 +++
 lib/psos/testsuite/Makefile    |    3 +++
 lib/vxworks/testsuite/Makefile |    3 +++
 3 files changed, 9 insertions(+)

diff --git a/lib/alchemy/testsuite/Makefile b/lib/alchemy/testsuite/Makefile
index a24cdeb..950a2aa 100644
--- a/lib/alchemy/testsuite/Makefile
+++ b/lib/alchemy/testsuite/Makefile
@@ -51,4 +51,7 @@ test: all
                sudo LD_LIBRARY_PATH=$(solibs) ./$$t --cpu-affinity=0 --silent 
&& echo ok || echo BAD; \
        done
 
+test/%: %
+       sudo LD_LIBRARY_PATH=$(solibs) ./$(@F) --cpu-affinity=0 --silent && 
echo ok || echo BAD
+
 .PHONY: clean test
diff --git a/lib/psos/testsuite/Makefile b/lib/psos/testsuite/Makefile
index f5b0071..f396bc9 100644
--- a/lib/psos/testsuite/Makefile
+++ b/lib/psos/testsuite/Makefile
@@ -39,4 +39,7 @@ test: all
                sudo LD_LIBRARY_PATH=$(solibs) ./$$t --cpu-affinity=0 --silent 
&& echo ok || echo BAD; \
        done
 
+test/%: %
+       sudo LD_LIBRARY_PATH=$(solibs) ./$(@F) --cpu-affinity=0 --silent && 
echo ok || echo BAD
+
 .PHONY: clean test
diff --git a/lib/vxworks/testsuite/Makefile b/lib/vxworks/testsuite/Makefile
index 5e62d7c..ef325e7 100644
--- a/lib/vxworks/testsuite/Makefile
+++ b/lib/vxworks/testsuite/Makefile
@@ -33,4 +33,7 @@ test: all
                sudo LD_LIBRARY_PATH=$(solibs) ./$$t --cpu-affinity=0 --silent 
&& echo ok || echo BAD; \
        done
 
+test/%: %
+       sudo LD_LIBRARY_PATH=$(solibs) ./$(@F) --cpu-affinity=0 --silent && 
echo ok || echo BAD
+
 .PHONY: clean test


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to