Received: from eggs.gnu.org ([2001:4830:134:3::10]:37627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAlDL-0003Gp-Po for qemu-devel@nongnu.org; Tue, 04 Feb 2014 13:59:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAlDC-000696-Nr for qemu-devel@nongnu.org; Tue, 04 Feb 2014 13:59:19 -0500 Received: from ssl.serverraum.org ([2a01:4f8:a0:1283::1:2]:48153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAlDC-00068m-H9 for qemu-devel@nongnu.org; Tue, 04 Feb 2014 13:59:10 -0500 From: Michael Walle Date: Tue, 4 Feb 2014 19:58:24 +0100 Message-Id: <1391540314-16141-3-git-send-email-michael@walle.cc> In-Reply-To: <1391540314-16141-1-git-send-email-michael@walle.cc> References: <1391540314-16141-1-git-send-email-michael@walle.cc> Subject: [Qemu-devel] [PULL v5 02/12] tests: lm32: new rule for single test cases List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Michael Walle , Anthony Liguori Introduce new target "check_%" to run individual test caes, eg. make check_mmu Signed-off-by: Michael Walle Reviewed-by: Peter Maydell --- tests/tcg/lm32/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tcg/lm32/Makefile b/tests/tcg/lm32/Makefile index 9a00ef7..8e5d405 100644 --- a/tests/tcg/lm32/Makefile +++ b/tests/tcg/lm32/Makefile @@ -96,10 +96,10 @@ all: build build: $(CRT) $(TESTCASES) -check: $(CRT) $(SYS) $(TESTCASES) - @for case in $(TESTCASES); do \ - $(SIM) $(SIMFLAGS) ./$$case; \ - done +check: $(TESTCASES:test_%.tst=check_%) + +check_%: test_%.tst $(CRT) $(SYS) + $(SIM) $(SIMFLAGS) $< clean: $(RM) -fr $(TESTCASES) $(CRT) -- 1.7.10.4