Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make/unit-tests make(1): reduce number of test cases...
details: https://anonhg.NetBSD.org/src/rev/7bf589ab932c
branches: trunk
changeset: 979051:7bf589ab932c
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Dec 12 12:19:18 2020 +0000
description:
make(1): reduce number of test cases in sh-flags.mk
The field job->echo is initialized in JobStart (and in JobOpenTmpFile).
After that, it is not modified anymore. Therefore it is not necessary
to run these test cases redundantly.
The field job->ignerr, on the other hand, is modified later on. For
these cases, the many remaining test cases are still needed.
diffstat:
usr.bin/make/unit-tests/sh-flags.exp | 4144 ----------------------------------
usr.bin/make/unit-tests/sh-flags.mk | 7 +-
2 files changed, 4 insertions(+), 4147 deletions(-)
diffs (truncated from 4285 to 300 lines):
diff -r d18c16ad6143 -r 7bf589ab932c usr.bin/make/unit-tests/sh-flags.exp
--- a/usr.bin/make/unit-tests/sh-flags.exp Sat Dec 12 12:13:12 2020 +0000
+++ b/usr.bin/make/unit-tests/sh-flags.exp Sat Dec 12 12:19:18 2020 +0000
@@ -255,246 +255,6 @@
running
*** Error code 1 (ignored)
-opt-____s_-tgt-___-cmd-___
-running
-
-opt-____s_-tgt-___-cmd-__s
-running
-
-opt-____s_-tgt-___-cmd-_i_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-___-cmd-_is
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-___-cmd-a__
-running
-
-opt-____s_-tgt-___-cmd-a_s
-running
-
-opt-____s_-tgt-___-cmd-ai_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-___-cmd-ais
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-__s-cmd-___
-running
-
-opt-____s_-tgt-__s-cmd-__s
-running
-
-opt-____s_-tgt-__s-cmd-_i_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-__s-cmd-_is
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-__s-cmd-a__
-running
-
-opt-____s_-tgt-__s-cmd-a_s
-running
-
-opt-____s_-tgt-__s-cmd-ai_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-__s-cmd-ais
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_i_-cmd-___
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_i_-cmd-__s
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_i_-cmd-_i_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_i_-cmd-_is
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_i_-cmd-a__
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_i_-cmd-a_s
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_i_-cmd-ai_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_i_-cmd-ais
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_is-cmd-___
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_is-cmd-__s
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_is-cmd-_i_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_is-cmd-_is
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_is-cmd-a__
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_is-cmd-a_s
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_is-cmd-ai_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-_is-cmd-ais
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-a__-cmd-___
-running
-
-opt-____s_-tgt-a__-cmd-__s
-running
-
-opt-____s_-tgt-a__-cmd-_i_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-a__-cmd-_is
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-a__-cmd-a__
-running
-
-opt-____s_-tgt-a__-cmd-a_s
-running
-
-opt-____s_-tgt-a__-cmd-ai_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-a__-cmd-ais
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-a_s-cmd-___
-running
-
-opt-____s_-tgt-a_s-cmd-__s
-running
-
-opt-____s_-tgt-a_s-cmd-_i_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-a_s-cmd-_is
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-a_s-cmd-a__
-running
-
-opt-____s_-tgt-a_s-cmd-a_s
-running
-
-opt-____s_-tgt-a_s-cmd-ai_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-a_s-cmd-ais
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ai_-cmd-___
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ai_-cmd-__s
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ai_-cmd-_i_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ai_-cmd-_is
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ai_-cmd-a__
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ai_-cmd-a_s
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ai_-cmd-ai_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ai_-cmd-ais
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ais-cmd-___
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ais-cmd-__s
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ais-cmd-_i_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ais-cmd-_is
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ais-cmd-a__
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ais-cmd-a_s
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ais-cmd-ai_
-running
-*** Error code 1 (ignored)
-
-opt-____s_-tgt-ais-cmd-ais
-running
-*** Error code 1 (ignored)
-
opt-___n__-tgt-___-cmd-___
echo running
@@ -747,250 +507,6 @@
running
*** Error code 1 (ignored)
-opt-___ns_-tgt-___-cmd-___
-echo running
-
-opt-___ns_-tgt-___-cmd-__s
-echo running
-
-opt-___ns_-tgt-___-cmd-_i_
-echo running; false
-
-opt-___ns_-tgt-___-cmd-_is
-echo running; false
-
-opt-___ns_-tgt-___-cmd-a__
-echo running
-running
-
-opt-___ns_-tgt-___-cmd-a_s
-echo running
-running
-
-opt-___ns_-tgt-___-cmd-ai_
-echo running; false
-running
-*** Error code 1 (ignored)
-
-opt-___ns_-tgt-___-cmd-ais
-echo running; false
-running
-*** Error code 1 (ignored)
-
-opt-___ns_-tgt-__s-cmd-___
-echo running
-
-opt-___ns_-tgt-__s-cmd-__s
-echo running
-
-opt-___ns_-tgt-__s-cmd-_i_
-echo running; false
-
-opt-___ns_-tgt-__s-cmd-_is
-echo running; false
-
-opt-___ns_-tgt-__s-cmd-a__
-echo running
-running
-
Home |
Main Index |
Thread Index |
Old Index