[PATCH v2] selftests: Add version file to kselftest installation dir

2025-06-10 Thread Tianyi Cui
As titled, adding version file to kselftest installation dir, so the user of the tarball can know which kernel version the tarball belongs to. Signed-off-by: Tianyi Cui <1997...@gmail.com> --- tools/testing/selftests/Makefile | 7 +++ 1 file changed, 7 insertions(+) diff --git a

[PATCH v2] selftests: Add version file to kselftest

2025-06-10 Thread Tianyi Cui
Thanks for your patience for review! I've updated the patch to make it easier to understand. Specifically, `stdout` of `git describe` is stored into `VERSION` variable, then write into `VERSION` file rather than print on-screen. Please refer below for the sample output and the content in `VERSION`.

Re: [PATCH] selftests: Add version file to kselftest installation dir

2025-06-02 Thread Tianyi Cui
On 6/2/25 3:48 PM, Shuah Khan wrote: > On 5/28/25 18:33, Tianyi Cui wrote: >> As titled, adding version file to kselftest installation dir, so the user >> of the tarball can know which kernel version the tarball belongs to. >> >> Signed-off-by: Tianyi Cui <1997..

[PATCH] selftests: Add version file to kselftest installation dir

2025-05-28 Thread Tianyi Cui
As titled, adding version file to kselftest installation dir, so the user of the tarball can know which kernel version the tarball belongs to. Signed-off-by: Tianyi Cui <1997...@gmail.com> --- tools/testing/selftests/Makefile | 6 ++ 1 file changed, 6 insertions(+) diff --git a