diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-05-11 20:18:00 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-05-28 09:06:09 -0700 |
commit | b93c765fda30cadae6aafb9d32a30f9391dc0b41 (patch) | |
tree | 8539b04e42f2f76b7d0da6ef535d49b5da257500 /tools/testing/selftests/rcutorture/bin/parse-build.sh | |
parent | torture: Make --cpus override idleness calculations (diff) | |
download | linux-dev-b93c765fda30cadae6aafb9d32a30f9391dc0b41.tar.xz linux-dev-b93c765fda30cadae6aafb9d32a30f9391dc0b41.zip |
torture: Add --trust-make to suppress "make clean"
The current rcutorture scripts unconditionally do "make clean", which is
a good way of getting the needed testing done despite any imperfections in
Makefile dependency tracking. However, this can be a bit irritating when
repeatedly running a single scenario after small changes, for example,
when debugging a problem that affects only a single scenario. This commit
therefore adds a --trust-make argument that suppresses the "make clean".
Even when using ccache, this speeds up kernel builds by up to almost an
order of magnitude on my laptop.
Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'tools/testing/selftests/rcutorture/bin/parse-build.sh')
-rwxr-xr-x | tools/testing/selftests/rcutorture/bin/parse-build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/parse-build.sh b/tools/testing/selftests/rcutorture/bin/parse-build.sh index 0701b3bf6ade..09155c15ea65 100755 --- a/tools/testing/selftests/rcutorture/bin/parse-build.sh +++ b/tools/testing/selftests/rcutorture/bin/parse-build.sh @@ -21,7 +21,7 @@ mkdir $T . functions.sh -if grep -q CC < $F +if grep -q CC < $F || test -n "$TORTURE_TRUST_MAKE" then : else |