Lines Matching +full:repo +full:- +full:name
2 # SPDX-License-Identifier: GPL-2.0+
4 # Runs the C-language litmus tests matching the specified criteria
10 # Run from the Linux kernel tools/memory-model directory.
20 trap 'rm -rf $T' 0
23 if test -d litmus
27 echo Run scripts/initlitmushist.sh first, need litmus repo.
32 # repo since the last run.
35 find litmus -type d -print |
36 ( cd "$LKMM_DESTDIR"; sed -e 's/^/mkdir -p /' | sh )
39 # Create a list of the C-language litmus tests previously run.
40 ( cd $LKMM_DESTDIR; find litmus -name '*.litmus.out' -print ) |
41 sed -e 's/\.out$//' |
42 xargs -r grep -L "^P${LKMM_PROCS}"> $T/list-C-already
45 # number of processes (per the --procs argument).
46 find litmus -name '*.litmus' -exec grep -l -m 1 "^C " {} \; > $T/list-C-all
47 xargs < $T/list-C-all -r grep -L "^P${LKMM_PROCS}" > $T/list-C-short
49 # Form list of new tests. Note: This does not handle litmus-test deletion!
50 sort $T/list-C-already $T/list-C-short | uniq -u > $T/list-C-new
53 sed < $T/list-C-short -e 's,^.*$,if test & -nt '"$LKMM_DESTDIR"'/&.out; then echo &; fi,' > $T/list…
54 sh $T/list-C-script > $T/list-C-newer
57 sort -u $T/list-C-new $T/list-C-newer > $T/list-C-needed
59 scripts/runlitmushist.sh < $T/list-C-needed