mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	This commit prepares for adding --hw capability to github litmus-test scripts by splitting runlitmus.sh (which simply runs the verification) out of checklitmus.sh (which also judges the results). Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			552 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			552 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/sh
 | 
						|
# SPDX-License-Identifier: GPL-2.0+
 | 
						|
#
 | 
						|
# Invokes runlitmus.sh and judgelitmus.sh on its arguments to run the
 | 
						|
# specified litmus test and pass judgment on the results.
 | 
						|
#
 | 
						|
# 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 <paulmck@linux.ibm.com>
 | 
						|
 | 
						|
scripts/runlitmus.sh $1
 | 
						|
scripts/judgelitmus.sh $1
 |