mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
Use "herd7" in each such reference. Signed-off-by: Andrea Parri <[email protected]> Cc: Will Deacon <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Boqun Feng <[email protected]> Cc: Nicholas Piggin <[email protected]> Cc: David Howells <[email protected]> Cc: Jade Alglave <[email protected]> Cc: Luc Maranget <[email protected]> Cc: "Paul E. McKenney" <[email protected]> Cc: Akira Yokosawa <[email protected]> Cc: Daniel Lustig <[email protected]> Acked-by: Alan Stern <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
35 lines
998 B
Bash
Executable File
35 lines
998 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Run a herd7 test and invokes judgelitmus.sh to check the result against
|
|
# a "Result:" comment within the litmus test. It also outputs verification
|
|
# results to a file whose name is that of the specified litmus test, but
|
|
# with ".out" appended.
|
|
#
|
|
# Usage:
|
|
# checklitmus.sh file.litmus
|
|
#
|
|
# Run this in the directory containing the memory model, specifying the
|
|
# pathname of the litmus test to check. The caller is expected to have
|
|
# properly set up the LKMM environment variables.
|
|
#
|
|
# Copyright IBM Corporation, 2018
|
|
#
|
|
# Author: Paul E. McKenney <[email protected]>
|
|
|
|
litmus=$1
|
|
herdoptions=${LKMM_HERD_OPTIONS--conf linux-kernel.cfg}
|
|
|
|
if test -f "$litmus" -a -r "$litmus"
|
|
then
|
|
:
|
|
else
|
|
echo ' --- ' error: \"$litmus\" is not a readable file
|
|
exit 255
|
|
fi
|
|
|
|
echo Herd options: $herdoptions > $LKMM_DESTDIR/$litmus.out
|
|
/usr/bin/time $LKMM_TIMEOUT_CMD herd7 $herdoptions $litmus >> $LKMM_DESTDIR/$litmus.out 2>&1
|
|
|
|
scripts/judgelitmus.sh $litmus
|