Always initialize terminal colorization string variables.

* build-aux/check.mk (am__tty_colors): Always initialize red, grn, etc.,
In case they're defined in the environment.
This commit is contained in:
Jim Meyering committed 2007-10-29 08:41:08 +01:00
1 parent e1bb6139fb
commit 973d42b90d
2 files changed
+10

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
2007-10-29 Jim Meyering <meyering@redhat.com>
Always initialize terminal colorization string variables.
* build-aux/check.mk (am__tty_colors): Always initialize red, grn, etc.,
In case they're defined in the environment.
Avoid test failure in non-srcdir build vs. the git tree.
* tests/check.mk (vc_exe_in_TESTS): Run this test only in a
srcdir build directory. Reported by Andreas Schwab.
+6
View File
@@ -66,6 +66,12 @@ if test -t 1 2>/dev/null; then \
lgn=''; \
blu=''; \
std=''; \
else; \
red=; \
grn=; \
lgn=; \
blu=; \
std=; \
fi
# To be inserted before the command running the test. Creates the