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

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Wed Apr 25 01:07:57 2012 +0200

testsuite: try running clocktest with CLOCK_HOST_REALTIME

---

 src/testsuite/xeno-test/Makefile.am  |    2 +-
 src/testsuite/xeno-test/Makefile.in  |    2 +-
 src/testsuite/xeno-test/xeno-test.in |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/testsuite/xeno-test/Makefile.am 
b/src/testsuite/xeno-test/Makefile.am
index 7a59fcb..540329b 100644
--- a/src/testsuite/xeno-test/Makefile.am
+++ b/src/testsuite/xeno-test/Makefile.am
@@ -8,7 +8,7 @@ xeno_test_run_CPPFLAGS = -DTESTDIR=\"$(testdir)\"
 xeno_test_run_LDADD = -lrt
 
 xeno-test: $(srcdir)/xeno-test.in Makefile
-       sed "s,@testdir@,$(testdir)," $< > $@
+       sed "s,@testdir@,$(testdir),g" $< > $@
 
 EXTRA_DIST = $(test_SCRIPTS) xeno-test.in
 
diff --git a/src/testsuite/xeno-test/Makefile.in 
b/src/testsuite/xeno-test/Makefile.in
index ad33119..1a52d9c 100644
--- a/src/testsuite/xeno-test/Makefile.in
+++ b/src/testsuite/xeno-test/Makefile.in
@@ -666,7 +666,7 @@ uninstall-am: uninstall-binSCRIPTS uninstall-testPROGRAMS \
 
 
 xeno-test: $(srcdir)/xeno-test.in Makefile
-       sed "s,@testdir@,$(testdir)," $< > $@
+       sed "s,@testdir@,$(testdir),g" $< > $@
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/src/testsuite/xeno-test/xeno-test.in 
b/src/testsuite/xeno-test/xeno-test.in
index 3f5ba0f..8241c88 100644
--- a/src/testsuite/xeno-test/xeno-test.in
+++ b/src/testsuite/xeno-test/xeno-test.in
@@ -43,7 +43,7 @@ set -ex
 echo 0 > /proc/xenomai/latency || :
 
 @testdir@/arith
-@testdir@/clocktest -T 30
+@testdir@/clocktest -C 42 -T 30 || @testdir@/clocktest -T 30
 @testdir@/switchtest -T 30
 @testdir@/cond-torture-native
 @testdir@/cond-torture-posix


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to