diff options
author | Jim Meyering <meyering@redhat.com> | 2011-01-04 12:47:24 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-01-19 08:35:36 +0100 |
commit | 948828b208e4cd59ceb903afbb46f55c09d51e18 (patch) | |
tree | 18603e9ff9ed50634d1fa5a1b0e9cf9457e0f67d | |
parent | 7e72d4fe9da159d42efe0845b0f36e2ea9d7c3b1 (diff) | |
download | coreutils-948828b208e4cd59ceb903afbb46f55c09d51e18.tar.xz |
maint: use slightly more efficient process in README-release
* README-release: Run cheaper root-only tests first.
Use half of processing units (not just 1) for the expensive tests.
-rw-r--r-- | README-release | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/README-release b/README-release index b2bd34c39..729ab898b 100644 --- a/README-release +++ b/README-release @@ -29,13 +29,15 @@ FIXME: enable excluded programs like arch? to get their manual pages? Run the following on at least one SELinux-enabled (enforcing) and one non-SELinux system: - make distcheck - make -j1 check RUN_VERY_EXPENSIVE_TESTS=yes RUN_EXPENSIVE_TESTS=yes - sudo env PATH="$PATH" NON_ROOT_USERNAME=$USER make -k check-root - - Note the -j1 above. If you use -jN, for larger N, some of the expensive - tests are likely to interfere with concurrent performance-measuring or - timing-sensitive tests, resulting in spurious failures. + n=$(( ($(nproc) + 1) / 2 )) + sudo env PATH="$PATH" NON_ROOT_USERNAME=$USER make -k -j$(nproc) check-root\ + && make distcheck \ + && make -j$n check RUN_VERY_EXPENSIVE_TESTS=yes RUN_EXPENSIVE_TESTS=yes + + Note that the use of -j$n tells make to use approximately half of the + available processing units. If you use -jN, for larger N, some of the + expensive tests are likely to interfere with concurrent performance-measuring + or timing-sensitive tests, resulting in spurious failures. If "make distcheck" doesn't run "make syntax-check" for you, then run it manually: |