* cfg.mk (sc_prohibit_skip_): New rule.
* tests/init.cfg (skip_test_): Add a comment.
halt='use of emacs indent-tabs-mode: setting' \
$(_sc_search_regexp)
+# Use skip_test_ rather than init.sh's "skip_" function.
+sc_prohibit_skip_:
+ @prohibit=' skip[_] ' \
+ halt="use init.cfg's skip_test_, not init.sh's skip_" \
+ $(_sc_search_regexp)
+
# Ensure that each file that contains fail=1 also contains fail=0.
# Otherwise, setting file=1 in the environment would make tests fail
# unexpectedly.
export PATH
}
+# Use this function rather than init.sh's skip_.
+# The "skip_" function emits its diagnostic only to one stream.
+# This one emits it both to the tty and to the log file.
skip_test_()
{
echo "$0: skipping test: $@" | head -1 1>&9