[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiq72=UKxv9EeV1Ozg5bcOtuoaFwCkm=7Yi+kBihoR7XzqHpQ@mail.gmail.com>
Date: Thu, 20 Mar 2025 12:21:44 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>, Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>, Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>, Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH 0/2] rust: two small improvements for kunit
On Sat, Feb 8, 2025 at 2:32 PM Thomas Weißschuh <linux@...ssschuh.net> wrote:
>
> Two quality of live improvements for running kunit tests for rust/.
> While today there are only the doctests, more are coming [0].
>
> $ ./tools/testing/kunit/kunit.py run --kunitconfig rust/
> [14:25:48] Configuring KUnit Kernel ...
> [14:25:48] Building KUnit Kernel ...
> Populating config with:
> $ make ARCH=um O=.kunit olddefconfig
> Building with:
> $ make all compile_commands.json ARCH=um O=.kunit --jobs=16
> [14:25:53] Starting KUnit Kernel (1/1)...
> [14:25:53] ============================================================
> Running tests with:
> $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
> [14:25:53] =========== rust_doctests_kernel (135 subtests) ============
> [14:25:53] [PASSED] rust_doctest_kernel_alloc_kbox_rs_0
>
> ...
>
> [14:25:53] [PASSED] rust_doctest_kernel_workqueue_rs_3
> [14:25:53] ============== [PASSED] rust_doctests_kernel ===============
> [14:25:53] ============================================================
> [14:25:53] Testing complete. Ran 135 tests: passed: 135
> [14:25:53] Elapsed time: 5.431s total, 0.001s configuring, 5.314s building, 0.086s running
>
> [0] https://lore.kernel.org/rust-for-linux/20241213081035.2069066-1-davidgow@google.com/
>
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
Applied to `rust-next` -- thanks everyone!
[ David says:
(...) this is enough to get Rust-for-Linux working with gcc under
64-bit UML on my system.
- Miguel ]
Cheers,
Miguel
Powered by blists - more mailing lists