[PATCH 5/5] kselftest: Add exit code defines

2015-05-08 Thread Darren Hart
Define the exit codes with KSFT_PASS and similar so tests can use these directly if they choose. Also enable harnesses and other tooling to use the defines instead of hardcoding the return codes. Cc: Shuah Khan Cc: linux-...@vger.kernel.org Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Thomas Gleixner

Re: [PATCH 5/5] kselftest: Add exit code defines

2015-03-30 Thread Peter Zijlstra
On Mon, Mar 30, 2015 at 09:26:07AM -0700, Darren Hart wrote: > Fair point. This isn't a space I'm well versed in, but some standard means > of doing this would be welcome. I'm reading standard memes, time to get away from the keyboard for a little while I suppose :-) -- To unsubscribe from this li

Re: [PATCH 5/5] kselftest: Add exit code defines

2015-03-30 Thread Darren Hart
On 3/29/15, 4:44 PM, "Michael Ellerman" wrote: >On Fri, 2015-03-27 at 16:09 -0700, Darren Hart wrote: >> >> On 3/27/15 3:59 PM, Michael Ellerman wrote: >> > On Fri, 2015-03-27 at 15:17 -0700, Darren Hart wrote: >> >> Define the exit codes with KSFT_PASS and similar so tests can use >>these >> >>

Re: [PATCH 5/5] kselftest: Add exit code defines

2015-03-29 Thread Michael Ellerman
On Fri, 2015-03-27 at 16:09 -0700, Darren Hart wrote: > > On 3/27/15 3:59 PM, Michael Ellerman wrote: > > On Fri, 2015-03-27 at 15:17 -0700, Darren Hart wrote: > >> Define the exit codes with KSFT_PASS and similar so tests can use these > >> directly if they choose. Also enable harnesses and other

Re: [PATCH 5/5] kselftest: Add exit code defines

2015-03-27 Thread Darren Hart
On 3/27/15 3:59 PM, Michael Ellerman wrote: > On Fri, 2015-03-27 at 15:17 -0700, Darren Hart wrote: >> Define the exit codes with KSFT_PASS and similar so tests can use these >> directly if they choose. Also enable harnesses and other tooling to use >> the defines instead of hardcoding the return

Re: [PATCH 5/5] kselftest: Add exit code defines

2015-03-27 Thread Michael Ellerman
On Fri, 2015-03-27 at 15:17 -0700, Darren Hart wrote: > Define the exit codes with KSFT_PASS and similar so tests can use these > directly if they choose. Also enable harnesses and other tooling to use > the defines instead of hardcoding the return codes. +1 > diff --git a/tools/testing/selftest

[PATCH 5/5] kselftest: Add exit code defines

2015-03-27 Thread Darren Hart
Define the exit codes with KSFT_PASS and similar so tests can use these directly if they choose. Also enable harnesses and other tooling to use the defines instead of hardcoding the return codes. Cc: Shuah Khan Cc: linux-...@vger.kernel.org Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Thomas Gleixner