FYI,

>From acece8bc5b1e1f40af5d15a4742e1bed6a411085 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Wed, 9 Dec 2009 17:20:47 +0100
Subject: [PATCH 1/2] build: make it clear which sector size is in use upon test 
failure

* Makefile.am (ss-1024 ss-2048 ss-4096): New targets.
Before this, top-level "make check" would lead to four separate
runs through all the regression tests, one for each of the following
simulated sector sizes: 1024 2048 4096, and one more for the native
(usually 512), and it was not easy to tell which sector size was
in use for a failing test.  Now, we still perform exactly the same
tests, but the sector size is now part of each target name.
---
 Makefile.am |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 3d0ce15..0e80967 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -76,13 +76,17 @@ MAINTAINERCLEANFILES += \
   aclocal.m4    \
   configure

+.PHONY: ss-1024 ss-2048 ss-4096
+ss-1024 ss-2048 ss-4096:
+       PARTED_SECTOR_SIZE=$(ss-,,$@) $(MAKE) check-recursive
+
 # Run the regression test suite with different settings,
 # to ensure it works with simulated partition sizes > 512.
 .PHONY: check-other-sector_sizes
 check-other-sector_sizes:
-       PARTED_SECTOR_SIZE=1024 $(MAKE) check-recursive
-       PARTED_SECTOR_SIZE=2048 $(MAKE) check-recursive
-       PARTED_SECTOR_SIZE=4096 $(MAKE) check-recursive
+       $(MAKE) ss-1024
+       $(MAKE) ss-2048
+       $(MAKE) ss-4096

 check: check-other-sector_sizes

--
1.6.6.rc0.285.g73651


>From ebdbd568199e67c4e9ac0354a76f188b1327ffe1 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Wed, 9 Dec 2009 17:21:42 +0100
Subject: [PATCH 2/2] build: update gnulib submodule to latest

---
 gnulib |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnulib b/gnulib
index 453d6be..a226e8a 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 453d6be7ea3ca6792fd28a71ccc0f1107a9239a4
+Subproject commit a226e8ae00484017b342f9299f9d3c88e413b827
--
1.6.6.rc0.285.g73651

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to