From: Stefano Lattarini Date: Fri, 27 Jul 2012 12:04:24 +0000 (+0200) Subject: [ng] rename: am__tty_colors -> am.test-suite.tty-colors X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0395a4e0d27483b9235e160b27a8d8c2e34748a;p=thirdparty%2Fautomake.git [ng] rename: am__tty_colors -> am.test-suite.tty-colors Signed-off-by: Stefano Lattarini --- diff --git a/lib/am/color-tests.am b/lib/am/color-tests.am index d2e2a7dfd..a7cf297ed 100644 --- a/lib/am/color-tests.am +++ b/lib/am/color-tests.am @@ -14,7 +14,7 @@ ## You should have received a copy of the GNU General Public License ## along with this program. If not, see . -am__tty_colors = { \ +am.test-suite.tty-colors = { \ if test "X$(AM_COLOR_TESTS)" = Xno; then \ am__color_tests=no; \ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ diff --git a/lib/am/parallel-tests.am b/lib/am/parallel-tests.am index 86c30ef7f..c480fc6e6 100644 --- a/lib/am/parallel-tests.am +++ b/lib/am/parallel-tests.am @@ -32,7 +32,7 @@ am__is_xfail_test = \ $(if $(filter-out $(am__xfail_test_bases), \ $(patsubst $(srcdir)/%,%,$(1))),no,yes) am__runtest = \ - $(am__tty_colors); \ + $(am.test-suite.tty-colors); \ srcdir=$(srcdir); export srcdir; \ ## Creates the directory for the log file if needed. Avoid extra forks. test x$(@D) = x. || test -d $(@D) || $(MKDIR_P) $(@D) || exit $$?; \ @@ -314,7 +314,7 @@ am.test-suite.append-to-list-of-bases = \ $(TEST_SUITE_LOG): $(am__test_logs) $(am__test_results) $(am.setup-test-harness-workdir) - @set +e; $(am__tty_colors); \ + @set +e; $(am.test-suite.tty-colors); \ fatal () { echo "fatal: making $@: $$*" >&2; exit 1; }; \ workdir='$(am.test-suite.workdir)'; \ ## Detect a possible circular dependency, and error out if it's found. diff --git a/lib/am/serial-tests.am b/lib/am/serial-tests.am index 8850dbb91..c6d708951 100644 --- a/lib/am/serial-tests.am +++ b/lib/am/serial-tests.am @@ -39,7 +39,7 @@ check-TESTS: $(am__cooked_tests) @failed=0; all=0; xfail=0; xpass=0; skip=0; \ srcdir=$(srcdir); export srcdir; \ list='$(am__cooked_tests)'; \ - $(am__tty_colors); \ + $(am.test-suite.tty-colors); \ is_xfail_test () { \ case " $(strip $(am__cooked_xfail_tests)) " in \ *" $$tst "*) return 0;; \