Linux Kernel Selftest development
 help / color / mirror / Atom feed
* resctrl selftest patches
@ 2023-04-10 16:43 Reinette Chatre
  2023-04-10 18:25 ` Shuah Khan
  0 siblings, 1 reply; 6+ messages in thread
From: Reinette Chatre @ 2023-04-10 16:43 UTC (permalink / raw)
  To: Shuah Khan, Shuah Khan; +Cc: linux-kselftest@vger.kernel.org, Yu, Fenghua

Hi Shuah and kselftest team,

There are a couple of resctrl selftest patches that are ready for inclusion. They have been percolating on the list for a while without expecting more feedback. All have "Reviewed-by" tags from at least one reviewer. Could you please consider including them into the kselftest repo? There is one minor merge conflict between two of the series for which the snippet below shows resolution.

[PATCH v8 0/6] Some improvements of resctrl selftest
https://lore.kernel.org/lkml/20230215083230.3155897-1-tan.shaopeng@jp.fujitsu.com/

[PATCH v2 0/9] selftests/resctrl: Fixes to error handling logic and cleanups
https://lore.kernel.org/lkml/20230215130605.31583-1-ilpo.jarvinen@linux.intel.com/

[PATCH] selftests/resctrl: Use correct exit code when tests fail
https://lore.kernel.org/lkml/20230309145757.2280518-1-peternewman@google.com/

The snippet below shows resolution of the merge conflict between the
first and second series:

diff --git a/tools/testing/selftests/resctrl/mbm_test.c b/tools/testing/selftests/resctrl/mbm_test.c
index 040ca1f9c173..775f9e542ff6 100644
--- a/tools/testing/selftests/resctrl/mbm_test.c
+++ b/tools/testing/selftests/resctrl/mbm_test.c
@@ -98,7 +98,7 @@ static int mbm_setup(int num, ...)
 
 	/* Run NUM_OF_RUNS times */
 	if (p->num_of_runs >= NUM_OF_RUNS)
-		return -1;
+		return END_OF_TESTS;
 
 	/* Set up shemata with 100% allocation on the first run. */
 	if (p->num_of_runs == 0)


Thank you very much.

Reinette

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

end of thread, other threads:[~2023-04-13 17:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-10 16:43 resctrl selftest patches Reinette Chatre
2023-04-10 18:25 ` Shuah Khan
2023-04-10 18:39   ` Reinette Chatre
2023-04-13 15:53     ` Reinette Chatre
2023-04-13 17:36       ` Shuah Khan
2023-04-13 17:40         ` Reinette Chatre

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