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
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user