From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12349 invoked by alias); 19 Apr 2011 15:28:18 -0000 Received: (qmail 12329 invoked by uid 9699); 19 Apr 2011 15:28:17 -0000 Date: Tue, 19 Apr 2011 15:28:00 -0000 Message-ID: <20110419152817.12327.qmail@sourceware.org> From: mornfall@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/test Makefile.in Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00020.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: mornfall@sourceware.org 2011-04-19 15:28:17 Modified files: test : Makefile.in Log message: Always copy all tests to builddir regardless of T/S, since subsequent runs (possibly with different T or S) skip that step. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/Makefile.in.diff?cvsroot=lvm2&r1=1.53&r2=1.54 --- LVM2/test/Makefile.in 2011/01/17 15:18:10 1.53 +++ LVM2/test/Makefile.in 2011/04/19 15:28:17 1.54 @@ -29,6 +29,7 @@ T ?= . S ?= @ # never match anything by default VERBOSE ?= 0 +ALL = $(shell find $(srcdir) \( -name t-\*.sh -or -path */api/\*.sh \) | sort) RUN = $(shell find $(srcdir) -regextype posix-egrep \( -name t-\*.sh -or -path */api/\*.sh \) -and -regex "$(srcdir)/.*($(T)).*" -and -not -regex "$(srcdir)/.*($(S)).*" | sort) RUN_BASE = $(shell echo $(RUN) | xargs -n 1 echo | sed -e s,^$(srcdir)/,,) @@ -80,10 +81,10 @@ lib/check lib/aux lib/test lib/utils lib/get lib/lvm-wrapper \ lib/paths -.tests-stamp: $(RUN) $(LIB) +.tests-stamp: $(ALL) $(LIB) @if test "$(srcdir)" != . ; then \ echo "Copying tests to builddir."; \ - for f in $(RUN); do cp $$f `echo $$f | sed -e s,^$(srcdir)/,,`; done; \ + for f in $(ALL); do cp $$f `echo $$f | sed -e s,^$(srcdir)/,,`; done; \ fi touch .tests-stamp