From acece8bc5b1e1f40af5d15a4742e1bed6a411085 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 9 Dec 2009 17:20:47 +0100 Subject: 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 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile.am') 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 -- cgit v1.2.1