Re: [PATCH] selftests: default to host arch for LLVM builds

2024-04-30 Thread Valentin Obst
On 4/29/24 12:04 AM, John Hubbard wrote: > ... >>> And yes, the selftests "normal" (non-cross-compile) build is *broken* >>> right now, for clang. I didn't realize from the patch title that this is >>> actually a significant fix. Maybe we should change the subject line >>> (patch >>> title) to

Re: [PATCH] selftests: default to host arch for LLVM builds

2024-04-28 Thread Valentin Obst
, so > either way, please feel free to add: > > Reviewed-by: John Hubbard Thanks! - Best Valentin > > > thanks, > -- > John Hubbard > NVIDIA > > > > > In the same scenario a gcc build would default to the host architecture, > > i.e.

[PATCH] selftests: default to host arch for LLVM builds

2024-03-29 Thread Valentin Obst
would default to the host architecture, i.e., it would use plain `gcc`. Fixes: 795285ef2425 ("selftests: Fix clang cross compilation") Reviewed-by: Mark Brown Signed-off-by: Valentin Obst --- I am not entirely sure whether this behavior is in fact known and intended and whether the way

Re: [PATCH v5] kselftest: Add basic test for probing the rust sample modules

2024-03-03 Thread Valentin Obst
Perhaps we can also add a section about these tests to the new `Documentation/rust/testing.rst` [1]. We could mention that they exist, how to run them, and link to the kselftest documentation for further information. Not necessary to resend, perhaps we can do that in a separate patch when this

[PATCH RFC] selftests: default to host arch for LLVM builds

2024-03-03 Thread Valentin Obst
e feedback on those points. If it looks OK I can also send it as a patch. Link: https://reviews.llvm.org/D50755 [1] Link: https://godbolt.org/z/r7Gn9bvv1 [2] Signed-off-by: Valentin Obst --- tools/testing/selftests/lib.mk | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --g

Re: [PATCH v2] kselftest: Add basic test for probing the rust sample modules

2024-02-22 Thread Valentin Obst
> diff --git a/tools/testing/selftests/rust/test_probe_samples.sh > b/tools/testing/selftests/rust/test_probe_samples.sh > new file mode 100755 > index ..6fcc2cd83d89 > --- /dev/null > +++ b/tools/testing/selftests/rust/test_probe_samples.sh > @@ -0,0 +1,42 @@ > +#!/bin/bash > +#