2023-10-31 20:37:33

by Thomas Weißschuh

[permalink] [raw]
Subject: [PATCH 0/3] selftests/nolibc: various build improvements

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


2023-11-02 08:51:44

by Willy Tarreau

[permalink] [raw]
Subject: Re: [PATCH 0/3] selftests/nolibc: various build improvements

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/[email protected]/

Thanks Thomas for these, feel free to merge them!
Willy

2023-11-02 19:47:16

by Thomas Weißschuh

[permalink] [raw]
Subject: Re: [PATCH 0/3] selftests/nolibc: various build improvements

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/[email protected]/
>
> Thanks Thomas for these, feel free to merge them!

Thanks for the review!

Applied and pushed to nolibc/next.

Thomas