public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] selftests/kselftest_harness: Add harness-selftest.expected to TEST_FILES
@ 2025-08-15  9:10 Yi Lai
  2025-08-15  9:25 ` Muhammad Usama Anjum
  2025-08-15  9:28 ` Thomas Weißschuh
  0 siblings, 2 replies; 4+ messages in thread
From: Yi Lai @ 2025-08-15  9:10 UTC (permalink / raw)
  To: linux-kernel, linux-kselftest, shuah, wad, luto, kees,
	thomas.weissschuh, usama.anjum, yi1.lai

The harness-selftest.expected is not installed in INSTALL_PATH.
Attempting to execute harness-selftest.sh shows warning:

diff: ./kselftest_harness/harness-selftest.expected: No such file or
directory

Add harness-selftest.expected to TEST_FILES.

Signed-off-by: Yi Lai <yi1.lai@intel.com>
---
 tools/testing/selftests/kselftest_harness/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/kselftest_harness/Makefile b/tools/testing/selftests/kselftest_harness/Makefile
index 0617535a6ce4..d2369c01701a 100644
--- a/tools/testing/selftests/kselftest_harness/Makefile
+++ b/tools/testing/selftests/kselftest_harness/Makefile
@@ -2,6 +2,7 @@
 
 TEST_GEN_PROGS_EXTENDED := harness-selftest
 TEST_PROGS := harness-selftest.sh
+TEST_FILES := harness-selftest.expected
 EXTRA_CLEAN := harness-selftest.seen
 
 include ../lib.mk
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] selftests/kselftest_harness: Add harness-selftest.expected to TEST_FILES
  2025-08-15  9:10 [PATCH] selftests/kselftest_harness: Add harness-selftest.expected to TEST_FILES Yi Lai
@ 2025-08-15  9:25 ` Muhammad Usama Anjum
  2025-08-15  9:28 ` Thomas Weißschuh
  1 sibling, 0 replies; 4+ messages in thread
From: Muhammad Usama Anjum @ 2025-08-15  9:25 UTC (permalink / raw)
  To: Yi Lai, linux-kernel, linux-kselftest, shuah, wad, luto, kees,
	thomas.weissschuh
  Cc: usama.anjum

On 8/15/25 2:10 PM, Yi Lai wrote:
> The harness-selftest.expected is not installed in INSTALL_PATH.
> Attempting to execute harness-selftest.sh shows warning:
> 
> diff: ./kselftest_harness/harness-selftest.expected: No such file or
> directory
This is a bug. Please try to find which patch had broken this and
add a fixes tag?

> 
> Add harness-selftest.expected to TEST_FILES.
> 
> Signed-off-by: Yi Lai <yi1.lai@intel.com>
> ---
>  tools/testing/selftests/kselftest_harness/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/testing/selftests/kselftest_harness/Makefile b/tools/testing/selftests/kselftest_harness/Makefile
> index 0617535a6ce4..d2369c01701a 100644
> --- a/tools/testing/selftests/kselftest_harness/Makefile
> +++ b/tools/testing/selftests/kselftest_harness/Makefile
> @@ -2,6 +2,7 @@
>  
>  TEST_GEN_PROGS_EXTENDED := harness-selftest
>  TEST_PROGS := harness-selftest.sh
> +TEST_FILES := harness-selftest.expected
>  EXTRA_CLEAN := harness-selftest.seen
>  
>  include ../lib.mk


---
Thanks,
Usama

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] selftests/kselftest_harness: Add harness-selftest.expected to TEST_FILES
  2025-08-15  9:10 [PATCH] selftests/kselftest_harness: Add harness-selftest.expected to TEST_FILES Yi Lai
  2025-08-15  9:25 ` Muhammad Usama Anjum
@ 2025-08-15  9:28 ` Thomas Weißschuh
  2025-09-09  8:04   ` Lai, Yi
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Weißschuh @ 2025-08-15  9:28 UTC (permalink / raw)
  To: Yi Lai; +Cc: linux-kernel, linux-kselftest, shuah, wad, luto, kees,
	usama.anjum

On Fri, Aug 15, 2025 at 05:10:32PM +0800, Yi Lai wrote:
> The harness-selftest.expected is not installed in INSTALL_PATH.
> Attempting to execute harness-selftest.sh shows warning:
> 
> diff: ./kselftest_harness/harness-selftest.expected: No such file or
> directory
> 
> Add harness-selftest.expected to TEST_FILES.
> 
> Signed-off-by: Yi Lai <yi1.lai@intel.com>

Fixes: df82ffc5a3c1 ("selftests: harness: Add kselftest harness selftest")
Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>

Thanks!

> ---
>  tools/testing/selftests/kselftest_harness/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/testing/selftests/kselftest_harness/Makefile b/tools/testing/selftests/kselftest_harness/Makefile
> index 0617535a6ce4..d2369c01701a 100644
> --- a/tools/testing/selftests/kselftest_harness/Makefile
> +++ b/tools/testing/selftests/kselftest_harness/Makefile
> @@ -2,6 +2,7 @@
>  
>  TEST_GEN_PROGS_EXTENDED := harness-selftest
>  TEST_PROGS := harness-selftest.sh
> +TEST_FILES := harness-selftest.expected
>  EXTRA_CLEAN := harness-selftest.seen
>  
>  include ../lib.mk
> -- 
> 2.43.0
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] selftests/kselftest_harness: Add harness-selftest.expected to TEST_FILES
  2025-08-15  9:28 ` Thomas Weißschuh
@ 2025-09-09  8:04   ` Lai, Yi
  0 siblings, 0 replies; 4+ messages in thread
From: Lai, Yi @ 2025-09-09  8:04 UTC (permalink / raw)
  To: Thomas Weißschuh
  Cc: Yi Lai, linux-kernel, linux-kselftest, shuah, wad, luto, kees,
	usama.anjum

On Fri, Aug 15, 2025 at 11:28:40AM +0200, Thomas Weißschuh wrote:
> On Fri, Aug 15, 2025 at 05:10:32PM +0800, Yi Lai wrote:
> > The harness-selftest.expected is not installed in INSTALL_PATH.
> > Attempting to execute harness-selftest.sh shows warning:
> > 
> > diff: ./kselftest_harness/harness-selftest.expected: No such file or
> > directory
> > 
> > Add harness-selftest.expected to TEST_FILES.
> > 
> > Signed-off-by: Yi Lai <yi1.lai@intel.com>
> 
> Fixes: df82ffc5a3c1 ("selftests: harness: Add kselftest harness selftest")
> Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
> 
> Thanks!
>

Sorry for the late response. Thank you for review. I will send a v2
patch containing the fixes tag.

Regards,
Yi Lai

> > ---
> >  tools/testing/selftests/kselftest_harness/Makefile | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/tools/testing/selftests/kselftest_harness/Makefile b/tools/testing/selftests/kselftest_harness/Makefile
> > index 0617535a6ce4..d2369c01701a 100644
> > --- a/tools/testing/selftests/kselftest_harness/Makefile
> > +++ b/tools/testing/selftests/kselftest_harness/Makefile
> > @@ -2,6 +2,7 @@
> >  
> >  TEST_GEN_PROGS_EXTENDED := harness-selftest
> >  TEST_PROGS := harness-selftest.sh
> > +TEST_FILES := harness-selftest.expected
> >  EXTRA_CLEAN := harness-selftest.seen
> >  
> >  include ../lib.mk
> > -- 
> > 2.43.0
> > 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-09-09  8:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-15  9:10 [PATCH] selftests/kselftest_harness: Add harness-selftest.expected to TEST_FILES Yi Lai
2025-08-15  9:25 ` Muhammad Usama Anjum
2025-08-15  9:28 ` Thomas Weißschuh
2025-09-09  8:04   ` Lai, Yi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox