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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Jul 17 17:39:24 2015 +0200

testsuite/xeno-test: accept a keep-going option for smokey

---

 testsuite/xeno-test/xeno-test.in |   13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/testsuite/xeno-test/xeno-test.in b/testsuite/xeno-test/xeno-test.in
index 2a985d3..be8506d 100644
--- a/testsuite/xeno-test/xeno-test.in
+++ b/testsuite/xeno-test/xeno-test.in
@@ -8,12 +8,15 @@ xeno-test -h or xeno-test --help
 This help text.
 
 
-xeno-test [ -l "load command" ] [ -- ] [ latency test options ]
+xeno-test [ -k ] [ -l "load command" ] [ -- ] [ latency test options ]
 
 Run a basic test/benchmark of Xenomai on your platform, by first starting a
 few unit tests, then running the latency test under the load generated by
 "load-command".
 
+This script accepts the -k option to tell the unit test loop to keep
+going upon a failing test. Otherwise xeno-test stops immediately.
+
 By default, the load command is "dohell 900", which will generate load during
 15 minutes. To generate a more realistic load see dohell help.
 
@@ -34,6 +37,12 @@ if [ "$1" = "-h" -o "$1" = "--help" ]; then
     exit 0
 fi
 
+keep_going=
+if [ "$1" = "-k" ]; then
+   keep_going=--keep-going
+   shift
+fi
+
 if [ "$1" = "--" ]; then
    shift
 fi
@@ -44,7 +53,7 @@ echo 0 > /proc/xenomai/latency || :
 
 testdir=@testdir@
 
-$testdir/smokey --run
+$testdir/smokey --run $keep_going
 $testdir/clocktest -D -T 30 -C CLOCK_HOST_REALTIME || $testdir/clocktest -T 30
 $testdir/switchtest -T 30
 


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

Reply via email to