mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-15 06:01:58 -06:00
tests: lm32: new rule for single test cases
Introduce new target "check_%" to run individual test caes, eg. make check_mmu Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
e67b3ca53a
commit
f40c49ac9f
1 changed files with 4 additions and 4 deletions
|
@ -96,10 +96,10 @@ all: build
|
||||||
|
|
||||||
build: $(CRT) $(TESTCASES)
|
build: $(CRT) $(TESTCASES)
|
||||||
|
|
||||||
check: $(CRT) $(SYS) $(TESTCASES)
|
check: $(TESTCASES:test_%.tst=check_%)
|
||||||
@for case in $(TESTCASES); do \
|
|
||||||
$(SIM) $(SIMFLAGS) ./$$case; \
|
check_%: test_%.tst $(CRT) $(SYS)
|
||||||
done
|
$(SIM) $(SIMFLAGS) $<
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) -fr $(TESTCASES) $(CRT)
|
$(RM) -fr $(TESTCASES) $(CRT)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue