All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] consolidate testsuite installation
@ 2006-12-10 10:21 Jan Kiszka
  2006-12-10 19:22 ` Philippe Gerum
  0 siblings, 1 reply; 16+ messages in thread
From: Jan Kiszka @ 2006-12-10 10:21 UTC (permalink / raw)
  To: xenomai-core


[-- Attachment #1.1: Type: text/plain, Size: 837 bytes --]

The only part of the Xenomai user-space package not yet following
standard installation rules is the testsuite. It gets installed to
$prefix/testsuite, by default /usr/testsuite. The attached patch is an
approach to overcome this unusual layout.

My suggestion, realised by this patch, is to push run scripts and
.runinfo files to $prefix/share/xenomai/testsuite/<test>/ while
installing the binaries now also to $prefix/bin. This allows both the
invocation and cleanup via run scripts (i.e. xeno-load) and the simple
direct call of the tests if all required modules are already loaded.
Additionally, the patch also enables run script invocation without prior
cd to the containing directory.

Unless no objections arise, I would like to have this in upcoming 2.3
already (can make life of package builders easier).

Jan

[-- Attachment #1.2: reorder-installation.patch --]
[-- Type: text/plain, Size: 8259 bytes --]

Index: src/testsuite/latency/runinfo
===================================================================
--- src/testsuite/latency/runinfo	(Revision 1941)
+++ src/testsuite/latency/runinfo	(Arbeitskopie)
@@ -1 +1 @@
-latency:native+rtdm+timerbench:!./latency;popall:control_c
+latency:native+rtdm+timerbench:!latency;popall:control_c
Index: src/testsuite/latency/Makefile.am
===================================================================
--- src/testsuite/latency/Makefile.am	(Revision 1941)
+++ src/testsuite/latency/Makefile.am	(Arbeitskopie)
@@ -1,6 +1,6 @@
-testdir = $(exec_prefix)/testsuite/latency
+testdir = $(pkgdatadir)/testsuite/latency
 
-test_PROGRAMS = latency
+bin_PROGRAMS = latency
 
 latency_SOURCES = latency.c
 
@@ -18,7 +18,7 @@ latency_LDADD = \
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
 	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: src/testsuite/switchbench/runinfo
===================================================================
--- src/testsuite/switchbench/runinfo	(Revision 1941)
+++ src/testsuite/switchbench/runinfo	(Arbeitskopie)
@@ -1 +1 @@
-switchbench:native:!./switchbench;popall:control_c
+switchbench:native:!switchbench;popall:control_c
Index: src/testsuite/switchbench/Makefile.am
===================================================================
--- src/testsuite/switchbench/Makefile.am	(Revision 1941)
+++ src/testsuite/switchbench/Makefile.am	(Arbeitskopie)
@@ -1,6 +1,6 @@
-testdir = $(exec_prefix)/testsuite/switchbench
+testdir = $(pkgdatadir)/testsuite/switchbench
 
-test_PROGRAMS = switchbench
+bin_PROGRAMS = switchbench
 
 switchbench_SOURCES = switchbench.c
 
@@ -17,7 +17,7 @@ switchbench_LDADD = \
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
 	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: src/testsuite/switchtest/runinfo
===================================================================
--- src/testsuite/switchtest/runinfo	(Revision 1941)
+++ src/testsuite/switchtest/runinfo	(Arbeitskopie)
@@ -1 +1 @@
-switchtest:posix+rtdm+switchtest:!./switchtest;popall:control_c
+switchtest:posix+rtdm+switchtest:!switchtest;popall:control_c
Index: src/testsuite/switchtest/Makefile.am
===================================================================
--- src/testsuite/switchtest/Makefile.am	(Revision 1941)
+++ src/testsuite/switchtest/Makefile.am	(Arbeitskopie)
@@ -1,6 +1,6 @@
-testdir = $(exec_prefix)/testsuite/switchtest
+testdir = $(pkgdatadir)/testsuite/switchtest
 
-test_PROGRAMS = switchtest
+bin_PROGRAMS = switchtest
 
 switchtest_SOURCES = switchtest.c
 
@@ -14,7 +14,7 @@ switchtest_LDADD = \
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
 	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: src/testsuite/cyclic/runinfo
===================================================================
--- src/testsuite/cyclic/runinfo	(Revision 1941)
+++ src/testsuite/cyclic/runinfo	(Arbeitskopie)
@@ -1 +1 @@
-cyclictest:posix:!./cyclictest -p 99 -n;popall:control_c
+cyclictest:posix:!cyclictest -p 99 -n;popall:control_c
Index: src/testsuite/cyclic/Makefile.am
===================================================================
--- src/testsuite/cyclic/Makefile.am	(Revision 1941)
+++ src/testsuite/cyclic/Makefile.am	(Arbeitskopie)
@@ -1,6 +1,6 @@
-testdir = $(exec_prefix)/testsuite/cyclic
+testdir = $(pkgdatadir)/testsuite/cyclic
 
-test_PROGRAMS = cyclictest
+bin_PROGRAMS = cyclictest
 
 cyclictest_SOURCES = cyclictest.c
 
@@ -14,7 +14,7 @@ cyclictest_LDADD = \
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
 	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: src/testsuite/irqbench/runinfo
===================================================================
--- src/testsuite/irqbench/runinfo	(Revision 1941)
+++ src/testsuite/irqbench/runinfo	(Arbeitskopie)
@@ -1 +1 @@
-irqloop:posix+rtdm+irqbench:!./irqloop;popall:control_c
+irqloop:posix+rtdm+irqbench:!irqloop;popall:control_c
Index: src/testsuite/irqbench/Makefile.am
===================================================================
--- src/testsuite/irqbench/Makefile.am	(Revision 1941)
+++ src/testsuite/irqbench/Makefile.am	(Arbeitskopie)
@@ -1,9 +1,9 @@
-testdir = $(exec_prefix)/testsuite/irqbench
+testdir = $(pkgdatadir)/testsuite/irqbench
 
-test_PROGRAMS = irqloop
+bin_PROGRAMS = irqloop
 
 if XENO_TARGET_ARCH_I386
-test_PROGRAMS += irqbench
+bin_PROGRAMS += irqbench
 endif
 
 
@@ -34,7 +34,7 @@ irqbench_LDFLAGS = $(XENO_USER_LDFLAGS)
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
 	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: scripts/xeno-load.in
===================================================================
--- scripts/xeno-load.in	(Revision 1941)
+++ scripts/xeno-load.in	(Arbeitskopie)
@@ -236,9 +236,9 @@ while test -n "$target_info" ; do
 	set -- $e
 	test $verbose = 1 && echo "+ spawning command ($* $cmdargs)"
 	if test $waitflag = 1; then
-           $suflag $* $cmdargs
+           PATH=$PATH:$exec_prefix/bin $suflag $* $cmdargs
         else
-           $suflag $* $cmdargs &
+           PATH=$PATH:$exec_prefix/bin $suflag $* $cmdargs &
 	   children_pids="$! $children_pids"
 	fi
 	;;
Index: scripts/xeno-test.in
===================================================================
--- scripts/xeno-test.in	(Revision 1941)
+++ scripts/xeno-test.in	(Arbeitskopie)
@@ -4,6 +4,9 @@
 # If you want to test it this way, do: sh xeno-test
 # BusyBox >= 1.1.3 with a make defconfig should provide all needed applets.
 
+prefix="@prefix@"
+pkgdatadir="@datadir@domain.hid"
+
 myusage() {
     cat >&1 <<EOF
 xeno-test [options]
@@ -195,24 +198,24 @@ run_w_load() {
     loudly generate_loads $workload
     boxstatus
     (
-        cd `dirname $0`/../testsuite/latency
+        cd $pkgdatadir/testsuite/latency
 	loudly ./run -- $XENOT_LATENCY $opts -t0 '# latency'
 	loudly ./run -- $XENOT_LATENCY $opts -t1 '# latency'
 	loudly ./run -- $XENOT_LATENCY $opts -t2 '# latency'
     )
-    (	cd `dirname $0`/../testsuite/switchtest
+    (	cd $pkgdatadir/testsuite/switchtest
 	loudly ./run -- -T 120 $XENOT_SWITCHTEST '# switchtest'
     )
-    (	cd `dirname $0`/../testsuite/switchbench
+    (	cd $pkgdatadir/testsuite/switchbench
 	loudly ./run -- -h $XENOT_SWITCHBENCH '# switchbench'
     )
-    (	cd `dirname $0`/../testsuite/cyclic
+    (	cd $pkgdatadir/testsuite/cyclic
 	loudly ./run -- -p 10 -n -l 1000 $XENOT_CYCLIC '# cyclictest'
     )
 
     if [ "$XENOT_IRQBENCH" != "" ] ; then
 	(
-	    cd `dirname $0`/../testsuite/irqbench
+	    cd $pkgdatadir/testsuite/irqbench
 	    loudly ./run -- -P 10 $XENOT_IRQBENCH -t0 '# irqbench user'
 	    loudly ./run -- -P 10 $XENOT_IRQBENCH -t1 '# irqbench kernel'
 	    loudly ./run -- -P 10 $XENOT_IRQBENCH -t2 '# irqbench irq-handler'

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-10 10:21 [Xenomai-core] [PATCH] consolidate testsuite installation Jan Kiszka
@ 2006-12-10 19:22 ` Philippe Gerum
  2006-12-11  0:16   ` Jan Kiszka
  0 siblings, 1 reply; 16+ messages in thread
From: Philippe Gerum @ 2006-12-10 19:22 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

On Sun, 2006-12-10 at 11:21 +0100, Jan Kiszka wrote:
> The only part of the Xenomai user-space package not yet following
> standard installation rules is the testsuite. It gets installed to
> $prefix/testsuite, by default /usr/testsuite. The attached patch is an
> approach to overcome this unusual layout.

Ack. Implementation-wise, we have to fix the following though:

xeno-load.in needs to be fixed, so that passing a single dot as argument
correctly picks the default runinfo target in the current directory.
This currently does not work as expected.

The second patch works around a problem with sudo relying on the
contents of the user's PATH variable. This won't work for people using a
version of sudo compiled with the secure path option by their favourite
distro. In that case, /usr/xenomai/bin (or whatever the user picked to
install xenomai) won't appear in that secure path, so the binary program
given in the runinfo file won't be found. A possible option is to
provide a relative path to locate the binary program,
e.g. ../../../../bin/latency for the latency test, as the example patch
shows. Not pretty, but the other way would need to autoconfiscate the
runinfo files, or at least run them through sed before installing, so
that we could substitute some placeholder with $exec_prefix.

--- scripts/xeno-load.in	(revision 1936)
+++ scripts/xeno-load.in	(working copy)
@@ -37,7 +37,7 @@
      target_dir=`pwd`
   fi
   if test "x$target_name" = x; then
-     if `echo $target_dir | grep -q /`; then
+     if `echo $target_dir | grep -q -e / -e .`; then
         target_name=default
      else
         target_name=$target_dir
Index: src/testsuite/latency/runinfo
===================================================================
--- src/testsuite/latency/runinfo	(revision 1936)
+++ src/testsuite/latency/runinfo	(working copy)
@@ -1 +1 @@
-latency:native+rtdm+timerbench:!latency;popall:control_c
+latency:native+rtdm+timerbench:!../../../../bin/latency;popall:control_c

-- 
Philippe.




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-10 19:22 ` Philippe Gerum
@ 2006-12-11  0:16   ` Jan Kiszka
  2006-12-11  9:07     ` Philippe Gerum
  0 siblings, 1 reply; 16+ messages in thread
From: Jan Kiszka @ 2006-12-11  0:16 UTC (permalink / raw)
  To: rpm; +Cc: xenomai-core


[-- Attachment #1.1: Type: text/plain, Size: 1533 bytes --]

Philippe Gerum wrote:
> On Sun, 2006-12-10 at 11:21 +0100, Jan Kiszka wrote:
>> The only part of the Xenomai user-space package not yet following
>> standard installation rules is the testsuite. It gets installed to
>> $prefix/testsuite, by default /usr/testsuite. The attached patch is an
>> approach to overcome this unusual layout.
> 
> Ack. Implementation-wise, we have to fix the following though:
> 
> xeno-load.in needs to be fixed, so that passing a single dot as argument
> correctly picks the default runinfo target in the current directory.
> This currently does not work as expected.

[obviously now fixed in svn]

> 
> The second patch works around a problem with sudo relying on the
> contents of the user's PATH variable. This won't work for people using a
> version of sudo compiled with the secure path option by their favourite
> distro. In that case, /usr/xenomai/bin (or whatever the user picked to
> install xenomai) won't appear in that secure path, so the binary program
> given in the runinfo file won't be found. A possible option is to
> provide a relative path to locate the binary program,
> e.g. ../../../../bin/latency for the latency test, as the example patch
> shows. Not pretty, but the other way would need to autoconfiscate the
> runinfo files, or at least run them through sed before installing, so
> that we could substitute some placeholder with $exec_prefix.

Relative paths are not fully safe, so here comes a full-blown approach
based on sed-on-install.

Jan

[-- Attachment #1.2: reorder-installation-v2.patch --]
[-- Type: text/plain, Size: 10547 bytes --]

 scripts/xeno-test.in                  |   13 ++++++++-----
 src/testsuite/cyclic/Makefile.am      |    8 ++++----
 src/testsuite/cyclic/runinfo          |    1 -
 src/testsuite/cyclic/runinfo.in       |    2 +-
 src/testsuite/irqbench/Makefile.am    |   10 +++++-----
 src/testsuite/irqbench/runinfo        |    1 -
 src/testsuite/irqbench/runinfo.in     |    2 +-
 src/testsuite/latency/Makefile.am     |    8 ++++----
 src/testsuite/latency/runinfo         |    1 -
 src/testsuite/latency/runinfo.in      |    2 +-
 src/testsuite/switchbench/Makefile.am |    8 ++++----
 src/testsuite/switchbench/runinfo     |    1 -
 src/testsuite/switchbench/runinfo.in  |    2 +-
 src/testsuite/switchtest/Makefile.am  |    8 ++++----
 src/testsuite/switchtest/runinfo      |    1 -
 src/testsuite/switchtest/runinfo.in   |    2 +-
 16 files changed, 34 insertions(+), 36 deletions(-)
Index: src/testsuite/latency/runinfo
===================================================================
--- src/testsuite/latency/runinfo	(Revision 1947)
+++ src/testsuite/latency/runinfo	(Arbeitskopie)
@@ -1 +0,0 @@
-latency:native+rtdm+timerbench:!./latency;popall:control_c
Index: src/testsuite/latency/runinfo.in
===================================================================
--- src/testsuite/latency/runinfo.in	(Revision 1941)
+++ src/testsuite/latency/runinfo.in	(Arbeitskopie)
@@ -1 +1 @@
-latency:native+rtdm+timerbench:!./latency;popall:control_c
+latency:native+rtdm+timerbench:!@exec_prefix@domain.hid_c
Index: src/testsuite/latency/Makefile.am
===================================================================
--- src/testsuite/latency/Makefile.am	(Revision 1947)
+++ src/testsuite/latency/Makefile.am	(Arbeitskopie)
@@ -1,6 +1,6 @@
-testdir = $(exec_prefix)/testsuite/latency
+testdir = $(pkgdatadir)/testsuite/latency
 
-test_PROGRAMS = latency
+bin_PROGRAMS = latency
 
 latency_SOURCES = latency.c
 
@@ -17,8 +17,8 @@ latency_LDADD = \
 
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
-	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: src/testsuite/switchbench/runinfo
===================================================================
--- src/testsuite/switchbench/runinfo	(Revision 1947)
+++ src/testsuite/switchbench/runinfo	(Arbeitskopie)
@@ -1 +0,0 @@
-switchbench:native:!./switchbench;popall:control_c
Index: src/testsuite/switchbench/runinfo.in
===================================================================
--- src/testsuite/switchbench/runinfo.in	(Revision 1941)
+++ src/testsuite/switchbench/runinfo.in	(Arbeitskopie)
@@ -1 +1 @@
-switchbench:native:!./switchbench;popall:control_c
+switchbench:native:!@exec_prefix@domain.hid
Index: src/testsuite/switchbench/Makefile.am
===================================================================
--- src/testsuite/switchbench/Makefile.am	(Revision 1947)
+++ src/testsuite/switchbench/Makefile.am	(Arbeitskopie)
@@ -1,6 +1,6 @@
-testdir = $(exec_prefix)/testsuite/switchbench
+testdir = $(pkgdatadir)/testsuite/switchbench
 
-test_PROGRAMS = switchbench
+bin_PROGRAMS = switchbench
 
 switchbench_SOURCES = switchbench.c
 
@@ -16,8 +16,8 @@ switchbench_LDADD = \
 
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
-	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: src/testsuite/switchtest/runinfo
===================================================================
--- src/testsuite/switchtest/runinfo	(Revision 1947)
+++ src/testsuite/switchtest/runinfo	(Arbeitskopie)
@@ -1 +0,0 @@
-switchtest:posix+rtdm+switchtest:!./switchtest;popall:control_c
Index: src/testsuite/switchtest/runinfo.in
===================================================================
--- src/testsuite/switchtest/runinfo.in	(Revision 1941)
+++ src/testsuite/switchtest/runinfo.in	(Arbeitskopie)
@@ -1 +1 @@
-switchtest:posix+rtdm+switchtest:!./switchtest;popall:control_c
+switchtest:posix+rtdm+switchtest:!@exec_prefix@domain.hidntrol_c
Index: src/testsuite/switchtest/Makefile.am
===================================================================
--- src/testsuite/switchtest/Makefile.am	(Revision 1947)
+++ src/testsuite/switchtest/Makefile.am	(Arbeitskopie)
@@ -1,6 +1,6 @@
-testdir = $(exec_prefix)/testsuite/switchtest
+testdir = $(pkgdatadir)/testsuite/switchtest
 
-test_PROGRAMS = switchtest
+bin_PROGRAMS = switchtest
 
 switchtest_SOURCES = switchtest.c
 
@@ -13,8 +13,8 @@ switchtest_LDADD = \
 
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
-	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: src/testsuite/cyclic/runinfo
===================================================================
--- src/testsuite/cyclic/runinfo	(Revision 1947)
+++ src/testsuite/cyclic/runinfo	(Arbeitskopie)
@@ -1 +0,0 @@
-cyclictest:posix:!./cyclictest -p 99 -n;popall:control_c
Index: src/testsuite/cyclic/runinfo.in
===================================================================
--- src/testsuite/cyclic/runinfo.in	(Revision 1941)
+++ src/testsuite/cyclic/runinfo.in	(Arbeitskopie)
@@ -1 +1 @@
-cyclictest:posix:!./cyclictest -p 99 -n;popall:control_c
+cyclictest:posix:!@exec_prefix@domain.hid -p 99 -n;popall:control_c
Index: src/testsuite/cyclic/Makefile.am
===================================================================
--- src/testsuite/cyclic/Makefile.am	(Revision 1947)
+++ src/testsuite/cyclic/Makefile.am	(Arbeitskopie)
@@ -1,6 +1,6 @@
-testdir = $(exec_prefix)/testsuite/cyclic
+testdir = $(pkgdatadir)/testsuite/cyclic
 
-test_PROGRAMS = cyclictest
+bin_PROGRAMS = cyclictest
 
 cyclictest_SOURCES = cyclictest.c
 
@@ -13,8 +13,8 @@ cyclictest_LDADD = \
 
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
-	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: src/testsuite/irqbench/runinfo
===================================================================
--- src/testsuite/irqbench/runinfo	(Revision 1947)
+++ src/testsuite/irqbench/runinfo	(Arbeitskopie)
@@ -1 +0,0 @@
-irqloop:posix+rtdm+irqbench:!./irqloop;popall:control_c
Index: src/testsuite/irqbench/runinfo.in
===================================================================
--- src/testsuite/irqbench/runinfo.in	(Revision 1941)
+++ src/testsuite/irqbench/runinfo.in	(Arbeitskopie)
@@ -1 +1 @@
-irqloop:posix+rtdm+irqbench:!./irqloop;popall:control_c
+irqloop:posix+rtdm+irqbench:!@exec_prefix@domain.hid
Index: src/testsuite/irqbench/Makefile.am
===================================================================
--- src/testsuite/irqbench/Makefile.am	(Revision 1947)
+++ src/testsuite/irqbench/Makefile.am	(Arbeitskopie)
@@ -1,9 +1,9 @@
-testdir = $(exec_prefix)/testsuite/irqbench
+testdir = $(pkgdatadir)/testsuite/irqbench
 
-test_PROGRAMS = irqloop
+bin_PROGRAMS = irqloop
 
 if XENO_TARGET_ARCH_I386
-test_PROGRAMS += irqbench
+bin_PROGRAMS += irqbench
 endif
 
 
@@ -33,8 +33,8 @@ irqbench_LDFLAGS = $(XENO_USER_LDFLAGS)
 
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
-	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: scripts/xeno-test.in
===================================================================
--- scripts/xeno-test.in	(Revision 1947)
+++ scripts/xeno-test.in	(Arbeitskopie)
@@ -4,6 +4,9 @@
 # If you want to test it this way, do: sh xeno-test
 # BusyBox >= 1.1.3 with a make defconfig should provide all needed applets.
 
+prefix="@prefix@"
+pkgdatadir="@datadir@domain.hid"
+
 myusage() {
     cat >&1 <<EOF
 xeno-test [options]
@@ -195,24 +198,24 @@ run_w_load() {
     loudly generate_loads $workload
     boxstatus
     (
-        cd `dirname $0`/../testsuite/latency
+        cd $pkgdatadir/testsuite/latency
 	loudly ./run -- $XENOT_LATENCY $opts -t0 '# latency'
 	loudly ./run -- $XENOT_LATENCY $opts -t1 '# latency'
 	loudly ./run -- $XENOT_LATENCY $opts -t2 '# latency'
     )
-    (	cd `dirname $0`/../testsuite/switchtest
+    (	cd $pkgdatadir/testsuite/switchtest
 	loudly ./run -- -T 120 $XENOT_SWITCHTEST '# switchtest'
     )
-    (	cd `dirname $0`/../testsuite/switchbench
+    (	cd $pkgdatadir/testsuite/switchbench
 	loudly ./run -- -h $XENOT_SWITCHBENCH '# switchbench'
     )
-    (	cd `dirname $0`/../testsuite/cyclic
+    (	cd $pkgdatadir/testsuite/cyclic
 	loudly ./run -- -p 10 -n -l 1000 $XENOT_CYCLIC '# cyclictest'
     )
 
     if [ "$XENOT_IRQBENCH" != "" ] ; then
 	(
-	    cd `dirname $0`/../testsuite/irqbench
+	    cd $pkgdatadir/testsuite/irqbench
 	    loudly ./run -- -P 10 $XENOT_IRQBENCH -t0 '# irqbench user'
 	    loudly ./run -- -P 10 $XENOT_IRQBENCH -t1 '# irqbench kernel'
 	    loudly ./run -- -P 10 $XENOT_IRQBENCH -t2 '# irqbench irq-handler'

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-11  0:16   ` Jan Kiszka
@ 2006-12-11  9:07     ` Philippe Gerum
  2006-12-11  9:24       ` Jan Kiszka
  0 siblings, 1 reply; 16+ messages in thread
From: Philippe Gerum @ 2006-12-11  9:07 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

On Mon, 2006-12-11 at 01:16 +0100, Jan Kiszka wrote:
> Philippe Gerum wrote:
> > On Sun, 2006-12-10 at 11:21 +0100, Jan Kiszka wrote:
> >> The only part of the Xenomai user-space package not yet following
> >> standard installation rules is the testsuite. It gets installed to
> >> $prefix/testsuite, by default /usr/testsuite. The attached patch is an
> >> approach to overcome this unusual layout.
> > 
> > Ack. Implementation-wise, we have to fix the following though:
> > 
> > xeno-load.in needs to be fixed, so that passing a single dot as argument
> > correctly picks the default runinfo target in the current directory.
> > This currently does not work as expected.
> 
> [obviously now fixed in svn]
> 
> > 
> > The second patch works around a problem with sudo relying on the
> > contents of the user's PATH variable. This won't work for people using a
> > version of sudo compiled with the secure path option by their favourite
> > distro. In that case, /usr/xenomai/bin (or whatever the user picked to
> > install xenomai) won't appear in that secure path, so the binary program
> > given in the runinfo file won't be found. A possible option is to
> > provide a relative path to locate the binary program,
> > e.g. ../../../../bin/latency for the latency test, as the example patch
> > shows. Not pretty, but the other way would need to autoconfiscate the
> > runinfo files, or at least run them through sed before installing, so
> > that we could substitute some placeholder with $exec_prefix.
> 
> Relative paths are not fully safe, 

Why, provided the sudo sub-shell in xeno-load changes dir to the
target_dir variable contents?

-- 
Philippe.




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-11  9:07     ` Philippe Gerum
@ 2006-12-11  9:24       ` Jan Kiszka
  2006-12-11 10:14         ` Philippe Gerum
  2006-12-12  8:36         ` Gilles Chanteperdrix
  0 siblings, 2 replies; 16+ messages in thread
From: Jan Kiszka @ 2006-12-11  9:24 UTC (permalink / raw)
  To: rpm; +Cc: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 1885 bytes --]

Philippe Gerum wrote:
> On Mon, 2006-12-11 at 01:16 +0100, Jan Kiszka wrote:
>> Philippe Gerum wrote:
>>> On Sun, 2006-12-10 at 11:21 +0100, Jan Kiszka wrote:
>>>> The only part of the Xenomai user-space package not yet following
>>>> standard installation rules is the testsuite. It gets installed to
>>>> $prefix/testsuite, by default /usr/testsuite. The attached patch is an
>>>> approach to overcome this unusual layout.
>>> Ack. Implementation-wise, we have to fix the following though:
>>>
>>> xeno-load.in needs to be fixed, so that passing a single dot as argument
>>> correctly picks the default runinfo target in the current directory.
>>> This currently does not work as expected.
>> [obviously now fixed in svn]
>>
>>> The second patch works around a problem with sudo relying on the
>>> contents of the user's PATH variable. This won't work for people using a
>>> version of sudo compiled with the secure path option by their favourite
>>> distro. In that case, /usr/xenomai/bin (or whatever the user picked to
>>> install xenomai) won't appear in that secure path, so the binary program
>>> given in the runinfo file won't be found. A possible option is to
>>> provide a relative path to locate the binary program,
>>> e.g. ../../../../bin/latency for the latency test, as the example patch
>>> shows. Not pretty, but the other way would need to autoconfiscate the
>>> runinfo files, or at least run them through sed before installing, so
>>> that we could substitute some placeholder with $exec_prefix.
>> Relative paths are not fully safe, 
> 
> Why, provided the sudo sub-shell in xeno-load changes dir to the
> target_dir variable contents?
> 

Because exec_prefix (=>bindir) may be different from prefix
(=>pkgdatadir), thus there is no fixed relation between the .runinfo
location and the binaries until after the installation.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-11  9:24       ` Jan Kiszka
@ 2006-12-11 10:14         ` Philippe Gerum
  2006-12-12  8:36         ` Gilles Chanteperdrix
  1 sibling, 0 replies; 16+ messages in thread
From: Philippe Gerum @ 2006-12-11 10:14 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

On Mon, 2006-12-11 at 10:24 +0100, Jan Kiszka wrote:
> Philippe Gerum wrote:
> > On Mon, 2006-12-11 at 01:16 +0100, Jan Kiszka wrote:
> >> Philippe Gerum wrote:
> >>> On Sun, 2006-12-10 at 11:21 +0100, Jan Kiszka wrote:
> >>>> The only part of the Xenomai user-space package not yet following
> >>>> standard installation rules is the testsuite. It gets installed to
> >>>> $prefix/testsuite, by default /usr/testsuite. The attached patch is an
> >>>> approach to overcome this unusual layout.
> >>> Ack. Implementation-wise, we have to fix the following though:
> >>>
> >>> xeno-load.in needs to be fixed, so that passing a single dot as argument
> >>> correctly picks the default runinfo target in the current directory.
> >>> This currently does not work as expected.
> >> [obviously now fixed in svn]
> >>
> >>> The second patch works around a problem with sudo relying on the
> >>> contents of the user's PATH variable. This won't work for people using a
> >>> version of sudo compiled with the secure path option by their favourite
> >>> distro. In that case, /usr/xenomai/bin (or whatever the user picked to
> >>> install xenomai) won't appear in that secure path, so the binary program
> >>> given in the runinfo file won't be found. A possible option is to
> >>> provide a relative path to locate the binary program,
> >>> e.g. ../../../../bin/latency for the latency test, as the example patch
> >>> shows. Not pretty, but the other way would need to autoconfiscate the
> >>> runinfo files, or at least run them through sed before installing, so
> >>> that we could substitute some placeholder with $exec_prefix.
> >> Relative paths are not fully safe, 
> > 
> > Why, provided the sudo sub-shell in xeno-load changes dir to the
> > target_dir variable contents?
> > 
> 
> Because exec_prefix (=>bindir) may be different from prefix
> (=>pkgdatadir), thus there is no fixed relation between the .runinfo
> location and the binaries until after the installation.
> 

Ack.

-- 
Philippe.




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-11  9:24       ` Jan Kiszka
  2006-12-11 10:14         ` Philippe Gerum
@ 2006-12-12  8:36         ` Gilles Chanteperdrix
  2006-12-12 12:32           ` Jan Kiszka
  1 sibling, 1 reply; 16+ messages in thread
From: Gilles Chanteperdrix @ 2006-12-12  8:36 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

Jan Kiszka wrote:
> Philippe Gerum wrote:
> 
>>On Mon, 2006-12-11 at 01:16 +0100, Jan Kiszka wrote:
>>
>>>Philippe Gerum wrote:
>>>
>>>>On Sun, 2006-12-10 at 11:21 +0100, Jan Kiszka wrote:
>>>>
>>>>>The only part of the Xenomai user-space package not yet following
>>>>>standard installation rules is the testsuite. It gets installed to
>>>>>$prefix/testsuite, by default /usr/testsuite. The attached patch is an
>>>>>approach to overcome this unusual layout.
>>>>
>>>>Ack. Implementation-wise, we have to fix the following though:
>>>>
>>>>xeno-load.in needs to be fixed, so that passing a single dot as argument
>>>>correctly picks the default runinfo target in the current directory.
>>>>This currently does not work as expected.
>>>
>>>[obviously now fixed in svn]
>>>
>>>
>>>>The second patch works around a problem with sudo relying on the
>>>>contents of the user's PATH variable. This won't work for people using a
>>>>version of sudo compiled with the secure path option by their favourite
>>>>distro. In that case, /usr/xenomai/bin (or whatever the user picked to
>>>>install xenomai) won't appear in that secure path, so the binary program
>>>>given in the runinfo file won't be found. A possible option is to
>>>>provide a relative path to locate the binary program,
>>>>e.g. ../../../../bin/latency for the latency test, as the example patch
>>>>shows. Not pretty, but the other way would need to autoconfiscate the
>>>>runinfo files, or at least run them through sed before installing, so
>>>>that we could substitute some placeholder with $exec_prefix.
>>>
>>>Relative paths are not fully safe, 
>>
>>Why, provided the sudo sub-shell in xeno-load changes dir to the
>>target_dir variable contents?
>>
> 
> 
> Because exec_prefix (=>bindir) may be different from prefix
> (=>pkgdatadir), thus there is no fixed relation between the .runinfo
> location and the binaries until after the installation.

Since the testsuite scripts are supposed to be run on the target, I
think they should be installed under exec_prefix.

-- 
                                                 Gilles Chanteperdrix


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-12  8:36         ` Gilles Chanteperdrix
@ 2006-12-12 12:32           ` Jan Kiszka
  2006-12-12 13:12             ` Gilles Chanteperdrix
  0 siblings, 1 reply; 16+ messages in thread
From: Jan Kiszka @ 2006-12-12 12:32 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 2612 bytes --]

Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>> Philippe Gerum wrote:
>>
>>> On Mon, 2006-12-11 at 01:16 +0100, Jan Kiszka wrote:
>>>
>>>> Philippe Gerum wrote:
>>>>
>>>>> On Sun, 2006-12-10 at 11:21 +0100, Jan Kiszka wrote:
>>>>>
>>>>>> The only part of the Xenomai user-space package not yet following
>>>>>> standard installation rules is the testsuite. It gets installed to
>>>>>> $prefix/testsuite, by default /usr/testsuite. The attached patch is an
>>>>>> approach to overcome this unusual layout.
>>>>> Ack. Implementation-wise, we have to fix the following though:
>>>>>
>>>>> xeno-load.in needs to be fixed, so that passing a single dot as argument
>>>>> correctly picks the default runinfo target in the current directory.
>>>>> This currently does not work as expected.
>>>> [obviously now fixed in svn]
>>>>
>>>>
>>>>> The second patch works around a problem with sudo relying on the
>>>>> contents of the user's PATH variable. This won't work for people using a
>>>>> version of sudo compiled with the secure path option by their favourite
>>>>> distro. In that case, /usr/xenomai/bin (or whatever the user picked to
>>>>> install xenomai) won't appear in that secure path, so the binary program
>>>>> given in the runinfo file won't be found. A possible option is to
>>>>> provide a relative path to locate the binary program,
>>>>> e.g. ../../../../bin/latency for the latency test, as the example patch
>>>>> shows. Not pretty, but the other way would need to autoconfiscate the
>>>>> runinfo files, or at least run them through sed before installing, so
>>>>> that we could substitute some placeholder with $exec_prefix.
>>>> Relative paths are not fully safe, 
>>> Why, provided the sudo sub-shell in xeno-load changes dir to the
>>> target_dir variable contents?
>>>
>>
>> Because exec_prefix (=>bindir) may be different from prefix
>> (=>pkgdatadir), thus there is no fixed relation between the .runinfo
>> location and the binaries until after the installation.
> 
> Since the testsuite scripts are supposed to be run on the target, I
> think they should be installed under exec_prefix.
> 

I didn't come across some scenario yet where I had to split exec_prefix
from prefix. So I followed this definition:

"Generally, $(exec_prefix) is used for directories that contain
machine-specific files (such as executables and subroutine libraries),
while $(prefix) is used directly for other directories."

As the scripts just like the .runinfos are certainly
machine-independent, my feeling is that prefix is the right thing.

Jan



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-12 12:32           ` Jan Kiszka
@ 2006-12-12 13:12             ` Gilles Chanteperdrix
  2006-12-12 13:24               ` Jan Kiszka
  0 siblings, 1 reply; 16+ messages in thread
From: Gilles Chanteperdrix @ 2006-12-12 13:12 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

Jan Kiszka wrote:
> Gilles Chanteperdrix wrote:
> 
>>Jan Kiszka wrote:
>>
>>>Philippe Gerum wrote:
>>>
>>>
>>>>On Mon, 2006-12-11 at 01:16 +0100, Jan Kiszka wrote:
>>>>
>>>>
>>>>>Philippe Gerum wrote:
>>>>>
>>>>>
>>>>>>On Sun, 2006-12-10 at 11:21 +0100, Jan Kiszka wrote:
>>>>>>
>>>>>>
>>>>>>>The only part of the Xenomai user-space package not yet following
>>>>>>>standard installation rules is the testsuite. It gets installed to
>>>>>>>$prefix/testsuite, by default /usr/testsuite. The attached patch is an
>>>>>>>approach to overcome this unusual layout.
>>>>>>
>>>>>>Ack. Implementation-wise, we have to fix the following though:
>>>>>>
>>>>>>xeno-load.in needs to be fixed, so that passing a single dot as argument
>>>>>>correctly picks the default runinfo target in the current directory.
>>>>>>This currently does not work as expected.
>>>>>
>>>>>[obviously now fixed in svn]
>>>>>
>>>>>
>>>>>
>>>>>>The second patch works around a problem with sudo relying on the
>>>>>>contents of the user's PATH variable. This won't work for people using a
>>>>>>version of sudo compiled with the secure path option by their favourite
>>>>>>distro. In that case, /usr/xenomai/bin (or whatever the user picked to
>>>>>>install xenomai) won't appear in that secure path, so the binary program
>>>>>>given in the runinfo file won't be found. A possible option is to
>>>>>>provide a relative path to locate the binary program,
>>>>>>e.g. ../../../../bin/latency for the latency test, as the example patch
>>>>>>shows. Not pretty, but the other way would need to autoconfiscate the
>>>>>>runinfo files, or at least run them through sed before installing, so
>>>>>>that we could substitute some placeholder with $exec_prefix.
>>>>>
>>>>>Relative paths are not fully safe, 
>>>>
>>>>Why, provided the sudo sub-shell in xeno-load changes dir to the
>>>>target_dir variable contents?
>>>>
>>>
>>>Because exec_prefix (=>bindir) may be different from prefix
>>>(=>pkgdatadir), thus there is no fixed relation between the .runinfo
>>>location and the binaries until after the installation.
>>
>>Since the testsuite scripts are supposed to be run on the target, I
>>think they should be installed under exec_prefix.
>>
> 
> 
> I didn't come across some scenario yet where I had to split exec_prefix
> from prefix. So I followed this definition:
> 
> "Generally, $(exec_prefix) is used for directories that contain
> machine-specific files (such as executables and subroutine libraries),
> while $(prefix) is used directly for other directories."
> 
> As the scripts just like the .runinfos are certainly
> machine-independent, my feeling is that prefix is the right thing.

At some point in time:
https://mail.gna.org/public/xenomai-help/2006-09/msg00181.html

I started to use exec_prefix and prefix for separating the binaries,
libraries and script that need to be installed on the target from the
include files, documentation and xeno-config script that need to be
installed on the host.

-- 
                                                 Gilles Chanteperdrix


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-12 13:12             ` Gilles Chanteperdrix
@ 2006-12-12 13:24               ` Jan Kiszka
  2006-12-12 14:46                 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 16+ messages in thread
From: Jan Kiszka @ 2006-12-12 13:24 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 3373 bytes --]

Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>> Gilles Chanteperdrix wrote:
>>
>>> Jan Kiszka wrote:
>>>
>>>> Philippe Gerum wrote:
>>>>
>>>>
>>>>> On Mon, 2006-12-11 at 01:16 +0100, Jan Kiszka wrote:
>>>>>
>>>>>
>>>>>> Philippe Gerum wrote:
>>>>>>
>>>>>>
>>>>>>> On Sun, 2006-12-10 at 11:21 +0100, Jan Kiszka wrote:
>>>>>>>
>>>>>>>
>>>>>>>> The only part of the Xenomai user-space package not yet following
>>>>>>>> standard installation rules is the testsuite. It gets installed to
>>>>>>>> $prefix/testsuite, by default /usr/testsuite. The attached patch is an
>>>>>>>> approach to overcome this unusual layout.
>>>>>>> Ack. Implementation-wise, we have to fix the following though:
>>>>>>>
>>>>>>> xeno-load.in needs to be fixed, so that passing a single dot as argument
>>>>>>> correctly picks the default runinfo target in the current directory.
>>>>>>> This currently does not work as expected.
>>>>>> [obviously now fixed in svn]
>>>>>>
>>>>>>
>>>>>>
>>>>>>> The second patch works around a problem with sudo relying on the
>>>>>>> contents of the user's PATH variable. This won't work for people using a
>>>>>>> version of sudo compiled with the secure path option by their favourite
>>>>>>> distro. In that case, /usr/xenomai/bin (or whatever the user picked to
>>>>>>> install xenomai) won't appear in that secure path, so the binary program
>>>>>>> given in the runinfo file won't be found. A possible option is to
>>>>>>> provide a relative path to locate the binary program,
>>>>>>> e.g. ../../../../bin/latency for the latency test, as the example patch
>>>>>>> shows. Not pretty, but the other way would need to autoconfiscate the
>>>>>>> runinfo files, or at least run them through sed before installing, so
>>>>>>> that we could substitute some placeholder with $exec_prefix.
>>>>>> Relative paths are not fully safe, 
>>>>> Why, provided the sudo sub-shell in xeno-load changes dir to the
>>>>> target_dir variable contents?
>>>>>
>>>> Because exec_prefix (=>bindir) may be different from prefix
>>>> (=>pkgdatadir), thus there is no fixed relation between the .runinfo
>>>> location and the binaries until after the installation.
>>> Since the testsuite scripts are supposed to be run on the target, I
>>> think they should be installed under exec_prefix.
>>>
>>
>> I didn't come across some scenario yet where I had to split exec_prefix
>> from prefix. So I followed this definition:
>>
>> "Generally, $(exec_prefix) is used for directories that contain
>> machine-specific files (such as executables and subroutine libraries),
>> while $(prefix) is used directly for other directories."
>>
>> As the scripts just like the .runinfos are certainly
>> machine-independent, my feeling is that prefix is the right thing.
> 
> At some point in time:
> https://mail.gna.org/public/xenomai-help/2006-09/msg00181.html
> 
> I started to use exec_prefix and prefix for separating the binaries,
> libraries and script that need to be installed on the target from the
> include files, documentation and xeno-config script that need to be
> installed on the host.
> 

OK, appears reasonable, though I cannot asses if it's a standard usage.

What do you suggest as a replacement for $(pkgdatadir) then?
$(exec_prefix)/share/xenomai? Or where to put the testsuite start scripts?

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-12 13:24               ` Jan Kiszka
@ 2006-12-12 14:46                 ` Gilles Chanteperdrix
  2006-12-13 16:58                   ` Jan Kiszka
  0 siblings, 1 reply; 16+ messages in thread
From: Gilles Chanteperdrix @ 2006-12-12 14:46 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

Jan Kiszka wrote:
> Gilles Chanteperdrix wrote:
>>At some point in time:
>>https://mail.gna.org/public/xenomai-help/2006-09/msg00181.html
>>
>>I started to use exec_prefix and prefix for separating the binaries,
>>libraries and script that need to be installed on the target from the
>>include files, documentation and xeno-config script that need to be
>>installed on the host.
>>
> 
> 
> OK, appears reasonable, though I cannot asses if it's a standard usage.

Do not know either if it is standard, but it may be useful to some users.

> 
> What do you suggest as a replacement for $(pkgdatadir) then?
> $(exec_prefix)/share/xenomai? Or where to put the testsuite start scripts?

I am Ok with anything under $(exec_prefix)...

-- 
                                                 Gilles Chanteperdrix


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-12 14:46                 ` Gilles Chanteperdrix
@ 2006-12-13 16:58                   ` Jan Kiszka
  2006-12-18  9:42                     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 16+ messages in thread
From: Jan Kiszka @ 2006-12-13 16:58 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-core


[-- Attachment #1.1: Type: text/plain, Size: 863 bytes --]

Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>> Gilles Chanteperdrix wrote:
>>> At some point in time:
>>> https://mail.gna.org/public/xenomai-help/2006-09/msg00181.html
>>>
>>> I started to use exec_prefix and prefix for separating the binaries,
>>> libraries and script that need to be installed on the target from the
>>> include files, documentation and xeno-config script that need to be
>>> installed on the host.
>>>
>>
>> OK, appears reasonable, though I cannot asses if it's a standard usage.
> 
> Do not know either if it is standard, but it may be useful to some users.
> 
>> What do you suggest as a replacement for $(pkgdatadir) then?
>> $(exec_prefix)/share/xenomai? Or where to put the testsuite start scripts?
> 
> I am Ok with anything under $(exec_prefix)...
> 

Then you should like -v3: now exec_prefix-based.

Jan

[-- Attachment #1.2: reorder-installation-v3.patch --]
[-- Type: text/plain, Size: 10625 bytes --]

 scripts/xeno-test.in                  |   13 ++++++++-----
 src/testsuite/cyclic/Makefile.am      |    8 ++++----
 src/testsuite/cyclic/runinfo          |    1 -
 src/testsuite/cyclic/runinfo.in       |    2 +-
 src/testsuite/irqbench/Makefile.am    |   10 +++++-----
 src/testsuite/irqbench/runinfo        |    1 -
 src/testsuite/irqbench/runinfo.in     |    2 +-
 src/testsuite/latency/Makefile.am     |    8 ++++----
 src/testsuite/latency/runinfo         |    1 -
 src/testsuite/latency/runinfo.in      |    2 +-
 src/testsuite/switchbench/Makefile.am |    8 ++++----
 src/testsuite/switchbench/runinfo     |    1 -
 src/testsuite/switchbench/runinfo.in  |    2 +-
 src/testsuite/switchtest/Makefile.am  |    8 ++++----
 src/testsuite/switchtest/runinfo      |    1 -
 src/testsuite/switchtest/runinfo.in   |    2 +-
 16 files changed, 34 insertions(+), 36 deletions(-)
Index: src/testsuite/latency/runinfo
===================================================================
--- src/testsuite/latency/runinfo	(Revision 1947)
+++ src/testsuite/latency/runinfo	(Arbeitskopie)
@@ -1 +0,0 @@
-latency:native+rtdm+timerbench:!./latency;popall:control_c
Index: src/testsuite/latency/runinfo.in
===================================================================
--- src/testsuite/latency/runinfo.in	(Revision 1941)
+++ src/testsuite/latency/runinfo.in	(Arbeitskopie)
@@ -1 +1 @@
-latency:native+rtdm+timerbench:!./latency;popall:control_c
+latency:native+rtdm+timerbench:!@exec_prefix@domain.hid_c
Index: src/testsuite/latency/Makefile.am
===================================================================
--- src/testsuite/latency/Makefile.am	(Revision 1947)
+++ src/testsuite/latency/Makefile.am	(Arbeitskopie)
@@ -1,6 +1,6 @@
-testdir = $(exec_prefix)/testsuite/latency
+testdir = $(exec_prefix)/share/xenomai/testsuite/latency
 
-test_PROGRAMS = latency
+bin_PROGRAMS = latency
 
 latency_SOURCES = latency.c
 
@@ -17,8 +17,8 @@ latency_LDADD = \
 
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
-	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: src/testsuite/switchbench/runinfo
===================================================================
--- src/testsuite/switchbench/runinfo	(Revision 1947)
+++ src/testsuite/switchbench/runinfo	(Arbeitskopie)
@@ -1 +0,0 @@
-switchbench:native:!./switchbench;popall:control_c
Index: src/testsuite/switchbench/runinfo.in
===================================================================
--- src/testsuite/switchbench/runinfo.in	(Revision 1941)
+++ src/testsuite/switchbench/runinfo.in	(Arbeitskopie)
@@ -1 +1 @@
-switchbench:native:!./switchbench;popall:control_c
+switchbench:native:!@exec_prefix@domain.hid
Index: src/testsuite/switchbench/Makefile.am
===================================================================
--- src/testsuite/switchbench/Makefile.am	(Revision 1947)
+++ src/testsuite/switchbench/Makefile.am	(Arbeitskopie)
@@ -1,6 +1,6 @@
-testdir = $(exec_prefix)/testsuite/switchbench
+testdir = $(exec_prefix)/share/xenomai/testsuite/switchbench
 
-test_PROGRAMS = switchbench
+bin_PROGRAMS = switchbench
 
 switchbench_SOURCES = switchbench.c
 
@@ -16,8 +16,8 @@ switchbench_LDADD = \
 
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
-	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: src/testsuite/switchtest/runinfo
===================================================================
--- src/testsuite/switchtest/runinfo	(Revision 1947)
+++ src/testsuite/switchtest/runinfo	(Arbeitskopie)
@@ -1 +0,0 @@
-switchtest:posix+rtdm+switchtest:!./switchtest;popall:control_c
Index: src/testsuite/switchtest/runinfo.in
===================================================================
--- src/testsuite/switchtest/runinfo.in	(Revision 1941)
+++ src/testsuite/switchtest/runinfo.in	(Arbeitskopie)
@@ -1 +1 @@
-switchtest:posix+rtdm+switchtest:!./switchtest;popall:control_c
+switchtest:posix+rtdm+switchtest:!@exec_prefix@domain.hidntrol_c
Index: src/testsuite/switchtest/Makefile.am
===================================================================
--- src/testsuite/switchtest/Makefile.am	(Revision 1947)
+++ src/testsuite/switchtest/Makefile.am	(Arbeitskopie)
@@ -1,6 +1,6 @@
-testdir = $(exec_prefix)/testsuite/switchtest
+testdir = $(exec_prefix)/share/xenomai/testsuite/switchtest
 
-test_PROGRAMS = switchtest
+bin_PROGRAMS = switchtest
 
 switchtest_SOURCES = switchtest.c
 
@@ -13,8 +13,8 @@ switchtest_LDADD = \
 
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
-	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: src/testsuite/cyclic/runinfo
===================================================================
--- src/testsuite/cyclic/runinfo	(Revision 1947)
+++ src/testsuite/cyclic/runinfo	(Arbeitskopie)
@@ -1 +0,0 @@
-cyclictest:posix:!./cyclictest -p 99 -n;popall:control_c
Index: src/testsuite/cyclic/runinfo.in
===================================================================
--- src/testsuite/cyclic/runinfo.in	(Revision 1941)
+++ src/testsuite/cyclic/runinfo.in	(Arbeitskopie)
@@ -1 +1 @@
-cyclictest:posix:!./cyclictest -p 99 -n;popall:control_c
+cyclictest:posix:!@exec_prefix@domain.hid -p 99 -n;popall:control_c
Index: src/testsuite/cyclic/Makefile.am
===================================================================
--- src/testsuite/cyclic/Makefile.am	(Revision 1947)
+++ src/testsuite/cyclic/Makefile.am	(Arbeitskopie)
@@ -1,6 +1,6 @@
-testdir = $(exec_prefix)/testsuite/cyclic
+testdir = $(exec_prefix)/share/xenomai/testsuite/cyclic
 
-test_PROGRAMS = cyclictest
+bin_PROGRAMS = cyclictest
 
 cyclictest_SOURCES = cyclictest.c
 
@@ -13,8 +13,8 @@ cyclictest_LDADD = \
 
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
-	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: src/testsuite/irqbench/runinfo
===================================================================
--- src/testsuite/irqbench/runinfo	(Revision 1947)
+++ src/testsuite/irqbench/runinfo	(Arbeitskopie)
@@ -1 +0,0 @@
-irqloop:posix+rtdm+irqbench:!./irqloop;popall:control_c
Index: src/testsuite/irqbench/runinfo.in
===================================================================
--- src/testsuite/irqbench/runinfo.in	(Revision 1941)
+++ src/testsuite/irqbench/runinfo.in	(Arbeitskopie)
@@ -1 +1 @@
-irqloop:posix+rtdm+irqbench:!./irqloop;popall:control_c
+irqloop:posix+rtdm+irqbench:!@exec_prefix@domain.hid
Index: src/testsuite/irqbench/Makefile.am
===================================================================
--- src/testsuite/irqbench/Makefile.am	(Revision 1947)
+++ src/testsuite/irqbench/Makefile.am	(Arbeitskopie)
@@ -1,9 +1,9 @@
-testdir = $(exec_prefix)/testsuite/irqbench
+testdir = $(exec_prefix)/share/xenomai/testsuite/irqbench

-test_PROGRAMS = irqloop
+bin_PROGRAMS = irqloop
 
 if XENO_TARGET_ARCH_I386
-test_PROGRAMS += irqbench
+bin_PROGRAMS += irqbench
 endif
 
 
@@ -33,8 +33,8 @@ irqbench_LDFLAGS = $(XENO_USER_LDFLAGS)
 
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
-	$(INSTALL_DATA) $(srcdir)/runinfo $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \$$*" > $(DESTDIR)$(testdir)/run
+	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
Index: scripts/xeno-test.in
===================================================================
--- scripts/xeno-test.in	(Revision 1947)
+++ scripts/xeno-test.in	(Arbeitskopie)
@@ -4,6 +4,9 @@
 # If you want to test it this way, do: sh xeno-test
 # BusyBox >= 1.1.3 with a make defconfig should provide all needed applets.
 
+prefix="@prefix@"
+pkgdatadir="@exec_prefix@domain.hid"
+
 myusage() {
     cat >&1 <<EOF
 xeno-test [options]
@@ -195,24 +198,24 @@ run_w_load() {
     loudly generate_loads $workload
     boxstatus
     (
-        cd `dirname $0`/../testsuite/latency
+        cd $pkgdatadir/testsuite/latency
 	loudly ./run -- $XENOT_LATENCY $opts -t0 '# latency'
 	loudly ./run -- $XENOT_LATENCY $opts -t1 '# latency'
 	loudly ./run -- $XENOT_LATENCY $opts -t2 '# latency'
     )
-    (	cd `dirname $0`/../testsuite/switchtest
+    (	cd $pkgdatadir/testsuite/switchtest
 	loudly ./run -- -T 120 $XENOT_SWITCHTEST '# switchtest'
     )
-    (	cd `dirname $0`/../testsuite/switchbench
+    (	cd $pkgdatadir/testsuite/switchbench
 	loudly ./run -- -h $XENOT_SWITCHBENCH '# switchbench'
     )
-    (	cd `dirname $0`/../testsuite/cyclic
+    (	cd $pkgdatadir/testsuite/cyclic
 	loudly ./run -- -p 10 -n -l 1000 $XENOT_CYCLIC '# cyclictest'
     )
 
     if [ "$XENOT_IRQBENCH" != "" ] ; then
 	(
-	    cd `dirname $0`/../testsuite/irqbench
+	    cd $pkgdatadir/testsuite/irqbench
 	    loudly ./run -- -P 10 $XENOT_IRQBENCH -t0 '# irqbench user'
 	    loudly ./run -- -P 10 $XENOT_IRQBENCH -t1 '# irqbench kernel'
 	    loudly ./run -- -P 10 $XENOT_IRQBENCH -t2 '# irqbench irq-handler'

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-13 16:58                   ` Jan Kiszka
@ 2006-12-18  9:42                     ` Gilles Chanteperdrix
  2006-12-18 12:30                       ` Jan Kiszka
  0 siblings, 1 reply; 16+ messages in thread
From: Gilles Chanteperdrix @ 2006-12-18  9:42 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

Jan Kiszka wrote:
> Gilles Chanteperdrix wrote:
> 
>>Jan Kiszka wrote:
>>
>>>Gilles Chanteperdrix wrote:
>>>
>>>>At some point in time:
>>>>https://mail.gna.org/public/xenomai-help/2006-09/msg00181.html
>>>>
>>>>I started to use exec_prefix and prefix for separating the binaries,
>>>>libraries and script that need to be installed on the target from the
>>>>include files, documentation and xeno-config script that need to be
>>>>installed on the host.
>>>>
>>>
>>>OK, appears reasonable, though I cannot asses if it's a standard usage.
>>
>>Do not know either if it is standard, but it may be useful to some users.
>>
>>
>>>What do you suggest as a replacement for $(pkgdatadir) then?
>>>$(exec_prefix)/share/xenomai? Or where to put the testsuite start scripts?
>>
>>I am Ok with anything under $(exec_prefix)...
>>
> 
> 
> Then you should like -v3: now exec_prefix-based.

It is Ok for me.

-- 
                                                 Gilles Chanteperdrix


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-18  9:42                     ` Gilles Chanteperdrix
@ 2006-12-18 12:30                       ` Jan Kiszka
  2006-12-18 13:32                         ` Gilles Chanteperdrix
  0 siblings, 1 reply; 16+ messages in thread
From: Jan Kiszka @ 2006-12-18 12:30 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]

Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>> Gilles Chanteperdrix wrote:
>>
>>> Jan Kiszka wrote:
>>>
>>>> Gilles Chanteperdrix wrote:
>>>>
>>>>> At some point in time:
>>>>> https://mail.gna.org/public/xenomai-help/2006-09/msg00181.html
>>>>>
>>>>> I started to use exec_prefix and prefix for separating the binaries,
>>>>> libraries and script that need to be installed on the target from the
>>>>> include files, documentation and xeno-config script that need to be
>>>>> installed on the host.
>>>>>
>>>> OK, appears reasonable, though I cannot asses if it's a standard usage.
>>> Do not know either if it is standard, but it may be useful to some users.
>>>
>>>
>>>> What do you suggest as a replacement for $(pkgdatadir) then?
>>>> $(exec_prefix)/share/xenomai? Or where to put the testsuite start scripts?
>>> I am Ok with anything under $(exec_prefix)...
>>>
>>
>> Then you should like -v3: now exec_prefix-based.
> 
> It is Ok for me.
> 

I would apply now, but all my autotool versions I have around seem to be
different from yours. Should I just check-in the source part and leave
the bootstrap run pending until anyone of you can kick it?


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-18 12:30                       ` Jan Kiszka
@ 2006-12-18 13:32                         ` Gilles Chanteperdrix
  2006-12-18 14:27                           ` Jan Kiszka
  0 siblings, 1 reply; 16+ messages in thread
From: Gilles Chanteperdrix @ 2006-12-18 13:32 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

Jan Kiszka wrote:
> I would apply now, but all my autotool versions I have around seem to be
> different from yours. Should I just check-in the source part and leave
> the bootstrap run pending until anyone of you can kick it?

You can commit the changes, I will run the auto-tools once it is done. I
am not sure I have the proper versions of the autotools either, but any
reasonably recent version should be Ok anyway.

-- 
                                                 Gilles Chanteperdrix


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Xenomai-core] [PATCH] consolidate testsuite installation
  2006-12-18 13:32                         ` Gilles Chanteperdrix
@ 2006-12-18 14:27                           ` Jan Kiszka
  0 siblings, 0 replies; 16+ messages in thread
From: Jan Kiszka @ 2006-12-18 14:27 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>> I would apply now, but all my autotool versions I have around seem to be
>> different from yours. Should I just check-in the source part and leave
>> the bootstrap run pending until anyone of you can kick it?
> 
> You can commit the changes, I will run the auto-tools once it is done. I
> am not sure I have the proper versions of the autotools either, but any
> reasonably recent version should be Ok anyway.
> 

Done. Also the dist-fix for scripts/help_from_kconfig.pl was applied.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2006-12-18 14:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-10 10:21 [Xenomai-core] [PATCH] consolidate testsuite installation Jan Kiszka
2006-12-10 19:22 ` Philippe Gerum
2006-12-11  0:16   ` Jan Kiszka
2006-12-11  9:07     ` Philippe Gerum
2006-12-11  9:24       ` Jan Kiszka
2006-12-11 10:14         ` Philippe Gerum
2006-12-12  8:36         ` Gilles Chanteperdrix
2006-12-12 12:32           ` Jan Kiszka
2006-12-12 13:12             ` Gilles Chanteperdrix
2006-12-12 13:24               ` Jan Kiszka
2006-12-12 14:46                 ` Gilles Chanteperdrix
2006-12-13 16:58                   ` Jan Kiszka
2006-12-18  9:42                     ` Gilles Chanteperdrix
2006-12-18 12:30                       ` Jan Kiszka
2006-12-18 13:32                         ` Gilles Chanteperdrix
2006-12-18 14:27                           ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.