[Glibc-bsd-commits] r3397 - trunk/posixtestsuite/debian

Guillem Jover guillem at alioth.debian.org
Fri Jun 3 06:04:09 UTC 2011


Author: guillem
Date: 2011-06-03 06:04:09 +0000 (Fri, 03 Jun 2011)
New Revision: 3397

Added:
   trunk/posixtestsuite/debian/dirs
Modified:
   trunk/posixtestsuite/debian/changelog
   trunk/posixtestsuite/debian/control
   trunk/posixtestsuite/debian/rules
Log:
Switch the binary package to be arch:any and ship the test suite report

Install the report to /usr/share/doc/posixtestsuite/report.GNU-TYPE.log.gz.
This will make the test suite run on all build daemons, so that we can
easily see how all architectures conform to the standard.


Modified: trunk/posixtestsuite/debian/changelog
===================================================================
--- trunk/posixtestsuite/debian/changelog	2011-06-03 05:34:17 UTC (rev 3396)
+++ trunk/posixtestsuite/debian/changelog	2011-06-03 06:04:09 UTC (rev 3397)
@@ -11,6 +11,10 @@
   * Use coreutils' timeout instead of expect's timeout, as the latter was
     mangling and causing the output to not be written to the logfile.
   * Fix some test case compilation errors due to -Werror.
+  * Switch the binary package to be arch:any and ship the test suite
+    report in /usr/share/doc/posixtestsuite/report.GNU-TYPE.log.gz.
+    This will make the test suite run on all build daemons, so that
+    we can easily see how all architectures conform to the standard.
 
  -- Guillem Jover <guillem at debian.org>  Mon, 09 Feb 2009 22:04:24 +0200
 

Modified: trunk/posixtestsuite/debian/control
===================================================================
--- trunk/posixtestsuite/debian/control	2011-06-03 05:34:17 UTC (rev 3396)
+++ trunk/posixtestsuite/debian/control	2011-06-03 06:04:09 UTC (rev 3397)
@@ -10,13 +10,14 @@
 Vcs-Svn: svn://svn.debian.org/svn/glibc-bsd/trunk/posixtestsuite/
 
 Package: posixtestsuite
-Architecture: all
+Architecture: any
 Depends: ${misc:Depends}
-Description: POSIX conformance test suite (dummy package)
- The POSIX Test Suite is a free (as in speech) test suite with the goal of
- performing conformance, functional, and stress testing of the IEEE
- 1003.1-2001 System Interfaces specification in a manner that is agnostic to
- any given implementation.
+Description: POSIX conformance test suite report log
+ The POSIX Test Suite is a free (as in speech) test suite with the goal
+ of  performing conformance, functional, and stress testing of the IEEE
+ 1003.1-2001 System Interfaces specification in a manner that is agnostic
+ to any given implementation.
  .
- This is a dummy package.  If you want to run the testsuite, use the source
- package of the same name (e.g. apt-get source posixtestsuite).
+ This package only provides the test suite results in a log file. If you
+ want to run the testsuite, use the source package of the same name (e.g.
+ apt-get source posixtestsuite).

Added: trunk/posixtestsuite/debian/dirs
===================================================================
--- trunk/posixtestsuite/debian/dirs	                        (rev 0)
+++ trunk/posixtestsuite/debian/dirs	2011-06-03 06:04:09 UTC (rev 3397)
@@ -0,0 +1 @@
+/usr/share/doc/posixtestsuite

Modified: trunk/posixtestsuite/debian/rules
===================================================================
--- trunk/posixtestsuite/debian/rules	2011-06-03 05:34:17 UTC (rev 3396)
+++ trunk/posixtestsuite/debian/rules	2011-06-03 06:04:09 UTC (rev 3397)
@@ -1,12 +1,16 @@
 #!/usr/bin/make -f
 
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+
+REPORT := /usr/share/doc/posixtestsuite/report.$(DEB_HOST_GNU_TYPE).log
+
 build-indep:
+
+build-arch:
 	dh_testdir
 
 	$(MAKE)
 
-build-arch:
-
 build: build-indep build-arch
 
 clean:
@@ -17,15 +21,18 @@
 
 	dh_clean
 
-install-indep: build-indep
+install-arch: build-arch
 	dh_testdir
 	dh_testroot
 	dh_prep
 	dh_installdirs
 
-#	$(MAKE) install DESTDIR=$(CURDIR)/debian/posixtestsuite
+	gzip -c9 logfile >$(CURDIR)/debian/posixtestsuite/$(REPORT).gz
 
-binary-indep: install-indep
+binary-indep:
+	# Nothing to do.
+
+binary-arch: install-arch
 	dh_testdir
 	dh_testroot
 	dh_installdocs
@@ -43,10 +50,7 @@
 	dh_md5sums
 	dh_builddeb
 
-binary-arch:
-	# Nothing to do.
-
 binary: binary-indep binary-arch
 
-.PHONY: clean install
+.PHONY: clean install-arch
 .PHONY: build build-indep build-arch binary-indep binary-arch binary




More information about the Glibc-bsd-commits mailing list