[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v5 02/12] tests: lm32: new rule for single test cases
From: |
Michael Walle |
Subject: |
[Qemu-devel] [PULL v5 02/12] tests: lm32: new rule for single test cases |
Date: |
Tue, 4 Feb 2014 19:58:24 +0100 |
Introduce new target "check_%" to run individual test caes, eg.
make check_mmu
Signed-off-by: Michael Walle <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
---
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
- [Qemu-devel] [PULL v5 00/12] target-lm32 updates, Michael Walle, 2014/02/04
- [Qemu-devel] [PULL v5 03/12] milkymist-uart: use qemu_chr_fe_write_all() instead of qemu_chr_fe_write(), Michael Walle, 2014/02/04
- [Qemu-devel] [PULL v5 02/12] tests: lm32: new rule for single test cases,
Michael Walle <=
- [Qemu-devel] [PULL v5 12/12] hw/lm32: print error if cpu model is not found, Michael Walle, 2014/02/04
- [Qemu-devel] [PULL v5 06/12] target-lm32: kill cpu_abort() calls, Michael Walle, 2014/02/04
- [Qemu-devel] [PULL v5 04/12] lm32_uart/lm32_juart: use qemu_chr_fe_write_all(), Michael Walle, 2014/02/04
- [Qemu-devel] [PULL v5 09/12] lm32_sys: print test result on stderr, Michael Walle, 2014/02/04
- [Qemu-devel] [PULL v5 11/12] target-lm32: stop VM on illegal or unknown instruction, Michael Walle, 2014/02/04
- [Qemu-devel] [PULL v5 08/12] target-lm32: add breakpoint/watchpoint support, Michael Walle, 2014/02/04
- [Qemu-devel] [PULL v5 05/12] milkymist-vgafb: swap pixel data in source buffer, Michael Walle, 2014/02/04
- [Qemu-devel] [PULL v5 10/12] lm32_sys: dump cpu state if test case fails, Michael Walle, 2014/02/04
- [Qemu-devel] [PULL v5 01/12] lm32_sys: increase test case name length limit, Michael Walle, 2014/02/04
- [Qemu-devel] [PULL v5 07/12] target-lm32: move model features to LM32CPU, Michael Walle, 2014/02/04