## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
-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 \
$(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 $$?; \
$(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.
@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;; \