Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tools/memory-model: Make history-check scripts use mselect7

The history-check scripts currently use grep to ignore non-C-language
litmus tests, which is a bit fragile. This commit therefore enlists the
aid of "mselect7 -arch C", given Luc Maraget's recent modifications that
allow mselect7 to operate in filter mode.

This change requires herdtools 7.52-32-g1da3e0e50977 or later.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>

+2 -2
+1 -1
tools/memory-model/scripts/initlitmushist.sh
··· 60 60 61 61 # Create a list of the C-language litmus tests with no more than the 62 62 # specified number of processes (per the --procs argument). 63 - find litmus -name '*.litmus' -exec grep -l -m 1 "^C " {} \; > $T/list-C 63 + find litmus -name '*.litmus' -print | mselect7 -arch C > $T/list-C 64 64 xargs < $T/list-C -r grep -L "^P${LKMM_PROCS}" > $T/list-C-short 65 65 66 66 scripts/runlitmushist.sh < $T/list-C-short
+1 -1
tools/memory-model/scripts/newlitmushist.sh
··· 43 43 44 44 # Form full list of litmus tests with no more than the specified 45 45 # number of processes (per the --procs argument). 46 - find litmus -name '*.litmus' -exec grep -l -m 1 "^C " {} \; > $T/list-C-all 46 + find litmus -name '*.litmus' -print | mselect7 -arch C > $T/list-C-all 47 47 xargs < $T/list-C-all -r grep -L "^P${LKMM_PROCS}" > $T/list-C-short 48 48 49 49 # Form list of new tests. Note: This does not handle litmus-test deletion!