__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/bash # SPDX-License-Identifier: GPL-2.0+ # # Run herd7 tests on all .litmus files in the litmus-tests directory # and check each file's result against a "Result:" comment within that # litmus test. If the verification result does not match that specified # in the litmus test, this script prints an error message prefixed with # "^^^". It also outputs verification results to a file whose name is # that of the specified litmus test, but with ".out" appended. # # If the --hw argument is specified, this script translates the .litmus # C-language file to the specified type of assembly and verifies that. # But in this case, litmus tests using complex synchronization (such as # locking, RCU, and SRCU) are cheerfully ignored. # # Usage: # checkalllitmus.sh # # Run this in the directory containing the memory model. # # This script makes no attempt to run the litmus tests concurrently. # # Copyright IBM Corporation, 2018 # # Author: Paul E. McKenney <[email protected]> . scripts/parseargs.sh litmusdir=litmus-tests if test -d "$litmusdir" -a -r "$litmusdir" -a -x "$litmusdir" then : else echo ' --- ' error: $litmusdir is not an accessible directory exit 255 fi # Create any new directories that have appeared in the litmus-tests # directory since the last run. if test "$LKMM_DESTDIR" != "." then find $litmusdir -type d -print | ( cd "$LKMM_DESTDIR"; sed -e 's/^/mkdir -p /' | sh ) fi # Run the script on all the litmus tests in the specified directory ret=0 for i in $litmusdir/*.litmus do if test -n "$LKMM_HW_MAP_FILE" && ! scripts/simpletest.sh $i then continue fi if ! scripts/checklitmus.sh $i then ret=1 fi done if test "$ret" -ne 0 then echo " ^^^ VERIFICATION MISMATCHES" 1>&2 else echo All litmus tests verified as was expected. 1>&2 fi exit $ret
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| checkalllitmus.sh | File | 1.76 KB | 0755 |
|
| checkghlitmus.sh | File | 1.85 KB | 0755 |
|
| checklitmus.sh | File | 552 B | 0755 |
|
| checklitmushist.sh | File | 1.88 KB | 0755 |
|
| checktheselitmus.sh | File | 1.12 KB | 0755 |
|
| cmplitmushist.sh | File | 3.24 KB | 0755 |
|
| hwfnseg.sh | File | 415 B | 0755 |
|
| initlitmushist.sh | File | 2.22 KB | 0755 |
|
| judgelitmus.sh | File | 4.6 KB | 0755 |
|
| newlitmushist.sh | File | 1.8 KB | 0755 |
|
| parseargs.sh | File | 3.25 KB | 0755 |
|
| runlitmus.sh | File | 2.42 KB | 0755 |
|
| runlitmushist.sh | File | 2.09 KB | 0755 |
|
| simpletest.sh | File | 856 B | 0755 |
|