From: Chris Hyser <chris.hy...@oracle.com> Sent: Thursday, February 20, 2025 11:21 PM To: Sinadin Shan; Shrikanth Hegde Cc: linux-kselft...@vger.kernel.org; linux-kernel@vger.kernel.org; sh...@kernel.org Subject: Re: [PATCH] selftests: sched: add sched as a default selftest target > > From: Sinadin Shan <sinadin.s...@oracle.com> > Sent: Thursday, February 20, 2025 11:23 AM > To: Chris Hyser; Shrikanth Hegde > Cc: linux-kselft...@vger.kernel.org; linux-kernel@vger.kernel.org; > sh...@kernel.org > Subject: Re: [PATCH] selftests: sched: add sched as a default selftest target > >>> I guess my question is what if SCHED_CORE was supposed to be configed into >>> the test kernel? Silently burying the error might be bad. I'm not strongly >>> tied to >>> that, just looking for opinions. At the same time, if you put the orig >>> change in, >>> people w/o SCHED_CORE on will start seeing "failures" they didn't see >>> before, >>> yes? and that seems bad. >> >> Yes, that seems bad as rightly pointed out by Shrikant. I have a patch >> that does the above mentioned skip, and if skipping is a right option to >> take here I can send it in the next version. > > If that is the plan, I prefer to fix it myself.
Ok. Here is a better plan. I suspected there must be some convention for all these tests (that you are obviously familiar with), I just feel bad for how this test originally got jammed in here. If you already have a patch, we should just go with that and yes adding that code seems like the exact right thing to do. -chrish