With the out-of-tree builds it's possible do incremental tests fairly fast:

time ./run-tests.sh 
i386:          162 test(s): 162 passed,   0 skipped,   0 failed => status: 
success
x86_64:        162 test(s): 162 passed,   0 skipped,   0 failed => status: 
success
arm64:         162 test(s): 162 passed,   0 skipped,   0 failed => status: 
success
arm:           162 test(s): 162 passed,   0 skipped,   0 failed => status: 
success
mips:          162 test(s): 161 passed,   1 skipped,   0 failed => status: 
warning
ppc:           162 test(s): 162 passed,   0 skipped,   0 failed => status: 
success
ppc64:         162 test(s): 162 passed,   0 skipped,   0 failed => status: 
success
ppc64le:       162 test(s): 162 passed,   0 skipped,   0 failed => status: 
success
riscv:         162 test(s): 162 passed,   0 skipped,   0 failed => status: 
success
s390:          162 test(s): 161 passed,   1 skipped,   0 failed => status: 
warning
loongarch:     162 test(s): 161 passed,   1 skipped,   0 failed => status: 
warning

real    1m56.226s
user    2m42.457s
sys     0m57.979s

This is with an incremental kernel rebuild and testrun inside qemu.

---
Changes in v2:
- Drop already applied qemu-system-ppc64le patch
- Drop config generation patch
- Add Co-developed-by for out-of-tree patch
- Link to v1: 
https://lore.kernel.org/lkml/[email protected]/

---
Thomas Weißschuh (3):
      selftests/nolibc: use EFI -bios for LoongArch qemu
      selftests/nolibc: anchor paths in $(srcdir) if possible
      selftests/nolibc: support out-of-tree builds

 tools/testing/selftests/nolibc/Makefile | 31 ++++++++++++++++++++++++-------
 1 file changed, 24 insertions(+), 7 deletions(-)
---
base-commit: 5a6a09e97199d6600d31383055f9d43fbbcbe86f
change-id: 20231010-nolibc-out-of-tree-b6684c6cf0e3

Best regards,
-- 
Thomas Weißschuh <[email protected]>

Reply via email to