tools/memory-model: Make scripts take "-j" abbreviation for "--jobs"
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 3 Dec 2018 23:04:51 +0000 (15:04 -0800)
committerIngo Molnar <mingo@kernel.org>
Mon, 21 Jan 2019 10:07:04 +0000 (11:07 +0100)
commit910cc9591d1433c2e26bd1c210844b09c699dd89
treeb41c7b3f333ef18e046f00398977f44a79cba550
parentb02eb5b0961a06561b89f5b7f0dd171b750e5789
tools/memory-model: Make scripts take "-j" abbreviation for "--jobs"

The "--jobs" argument to the litmus-test scripts is similar to the "-jN"
argument to "make", so this commit allows the "-jN" form as well.  While
in the area, it also prohibits the various forms of "-j0".

Suggested-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: akiyks@gmail.com
Cc: boqun.feng@gmail.com
Cc: dhowells@redhat.com
Cc: j.alglave@ucl.ac.uk
Cc: linux-arch@vger.kernel.org
Cc: luc.maranget@inria.fr
Cc: npiggin@gmail.com
Cc: parri.andrea@gmail.com
Cc: will.deacon@arm.com
Link: http://lkml.kernel.org/r/20181203230451.28921-3-paulmck@linux.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/memory-model/scripts/parseargs.sh