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

Guillem Jover guillem at alioth.debian.org
Fri Jun 3 07:06:55 UTC 2011


Author: guillem
Date: 2011-06-03 07:06:55 +0000 (Fri, 03 Jun 2011)
New Revision: 3399

Modified:
   trunk/posixtestsuite/debian/changelog
   trunk/posixtestsuite/debian/rules
Log:
Use a stamp file to not run the test suite twice


Modified: trunk/posixtestsuite/debian/changelog
===================================================================
--- trunk/posixtestsuite/debian/changelog	2011-06-03 07:04:24 UTC (rev 3398)
+++ trunk/posixtestsuite/debian/changelog	2011-06-03 07:06:55 UTC (rev 3399)
@@ -16,6 +16,7 @@
     This will make the test suite run on all build daemons, so that
     we can easily see how all architectures conform to the standard.
   * Do not try to build test cases from the quilt state directory.
+  * Use a stamp file to not run the test suite twice.
 
  -- Guillem Jover <guillem at debian.org>  Fri, 03 Jun 2011 08:04:35 +0200
 

Modified: trunk/posixtestsuite/debian/rules
===================================================================
--- trunk/posixtestsuite/debian/rules	2011-06-03 07:04:24 UTC (rev 3398)
+++ trunk/posixtestsuite/debian/rules	2011-06-03 07:06:55 UTC (rev 3399)
@@ -6,11 +6,15 @@
 
 build-indep:
 
-build-arch:
+# We need a stamp file to avoid running the test suite twice.
+build-arch: build-arch-stamp
+build-arch-stamp:
 	dh_testdir
 
 	$(MAKE)
 
+	touch $@
+
 build: build-indep build-arch
 
 clean:
@@ -19,6 +23,8 @@
 
 	$(MAKE) clean
 
+	$(RM) *-stamp
+
 	dh_clean
 
 install-arch: build-arch




More information about the Glibc-bsd-commits mailing list