mbox series

[0/3] selftests/nolibc: various build improvements

Message ID 20231031-nolibc-out-of-tree-v1-0-47c92f73590a@weissschuh.net
Headers show
Series selftests/nolibc: various build improvements | expand

Message

Thomas Weißschuh Oct. 31, 2023, 8:36 p.m. UTC
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/20231010-nolibc-out-of-tree-v1-0-b6a263859596@weissschuh.net/

---
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,

Comments

Thomas Weißschuh Nov. 2, 2023, 7:45 p.m. UTC | #1
On 2023-11-02 09:50:38+0100, Willy Tarreau wrote:
> On Tue, Oct 31, 2023 at 09:36:57PM +0100, Thomas Weißschuh wrote:
> > 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/20231010-nolibc-out-of-tree-v1-0-b6a263859596@weissschuh.net/
> 
> Thanks Thomas for these, feel free to merge them!

Thanks for the review!

Applied and pushed to nolibc/next.

Thomas