Re: [PATCH v3 0/2] lib/prime_numbers: convert self-test to KUnit

2025-02-08 Thread Tamir Duberstein
On Sat, Feb 8, 2025 at 7:25 PM Andrew Morton wrote: > > On Sat, 08 Feb 2025 17:52:28 -0500 Tamir Duberstein wrote: > > > This is a clear example of a unit test. > > > > I tested this using: > > > > $ tools/testing/kunit/kunit.py run --arch arm64 --make_options LLVM=1 > > math-prime_numbers > > >

Re: [PATCH v3 0/2] lib/prime_numbers: convert self-test to KUnit

2025-02-08 Thread Andrew Morton
On Sat, 08 Feb 2025 17:52:28 -0500 Tamir Duberstein wrote: > This is a clear example of a unit test. > > I tested this using: > > $ tools/testing/kunit/kunit.py run --arch arm64 --make_options LLVM=1 > math-prime_numbers > > On success: > ; [08:51:41] == math-prime_numbers (1 subt

[PATCH v3 0/2] lib/prime_numbers: convert self-test to KUnit

2025-02-08 Thread Tamir Duberstein
This is a clear example of a unit test. I tested this using: $ tools/testing/kunit/kunit.py run --arch arm64 --make_options LLVM=1 math-prime_numbers On success: ; [08:51:41] == math-prime_numbers (1 subtest) == ; [08:51:41] [PASSED] prime_numbers_test ; [08:51:41] =