mirror of
https://github.com/torvalds/linux.git
synced 2024-12-06 11:01:43 +00:00
selftests/nolibc: add run-libc-test target
allow run and report glibc or musl based libc-test. Signed-off-by: Zhangjin Wu <falcon@tinylab.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
This commit is contained in:
parent
fcdbf5dda4
commit
cfb672f94f
@ -132,6 +132,10 @@ nolibc-test: nolibc-test.c sysroot/$(ARCH)/include
|
||||
libc-test: nolibc-test.c
|
||||
$(QUIET_CC)$(CC) -o $@ $<
|
||||
|
||||
run-libc-test: libc-test
|
||||
$(Q)./libc-test > "$(CURDIR)/run.out" || :
|
||||
$(Q)$(REPORT) $(CURDIR)/run.out
|
||||
|
||||
# qemu user-land test
|
||||
run-user: nolibc-test
|
||||
$(Q)qemu-$(QEMU_ARCH) ./nolibc-test > "$(CURDIR)/run.out" || :
|
||||
|
Loading…
Reference in New Issue
Block a user