Hi,

thanks for Xenomai 2.6.0!

I'm attaching a patch that's helpful for the integration of Xenomai in
Debian (and FHS compliant systems in general), moving the architecture
dependent test programs from /usr/share to /usr/lib.

Thanks in advance,

Roland
--- xenomai-2.6.0.orig/src/testsuite/regression/xeno-regression-test.in
+++ xenomai-2.6.0/src/testsuite/regression/xeno-regression-test.in
@@ -46,13 +46,13 @@ echo 0 > /proc/xenomai/latency || :
 @testdir@/mutex-torture-posix
 
 # the tests in this tree
-@pkgdir@/regression/posix/leaks
-@pkgdir@/regression/posix/shm
-@pkgdir@/regression/native/heap
-@pkgdir@/regression/native/leaks
-@pkgdir@/regression/native/mayday
-@pkgdir@/regression/native/tsc
-@pkgdir@/regression/native+posix/mq_select
+@testdir@/regression/posix/leaks
+@testdir@/regression/posix/shm
+@testdir@/regression/native/heap
+@testdir@/regression/native/leaks
+@testdir@/regression/native/mayday
+@testdir@/regression/native/tsc
+@testdir@/regression/native+posix/mq_select
 
 start_load
 
--- xenomai-2.6.0.orig/src/testsuite/regression/native/Makefile.am
+++ xenomai-2.6.0/src/testsuite/regression/native/Makefile.am
@@ -1,4 +1,4 @@
-tstdir = $(pkgdatadir)/regression/native
+tstdir = @XENO_TEST_DIR@/regression/native
 
 noinst_HEADERS = check.h
 
--- xenomai-2.6.0.orig/src/testsuite/regression/posix/Makefile.am
+++ xenomai-2.6.0/src/testsuite/regression/posix/Makefile.am
@@ -1,4 +1,4 @@
-tstdir = $(pkgdatadir)/regression/posix
+tstdir = @XENO_TEST_DIR@/regression/posix
 
 noinst_HEADERS = check.h
 
--- xenomai-2.6.0.orig/src/testsuite/regression/native+posix/Makefile.am
+++ xenomai-2.6.0/src/testsuite/regression/native+posix/Makefile.am
@@ -1,4 +1,4 @@
-tstdir = $(pkgdatadir)/regression/native+posix
+tstdir = @XENO_TEST_DIR@/regression/native+posix
 
 tst_PROGRAMS = mq_select
 
_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to