[Rpm-maint] [PATCH 1/5] Add some color to the tests if available and the terminal supports it.

Mark Wielaard mark at klomp.org
Mon Jun 17 09:23:22 UTC 2019


While working on some new testcases it helped to see the test results
in color. We could all use some extra color while working on dull
tasks.
---
 tests/local.at | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/local.at b/tests/local.at
index 42eef1c..42c799b 100644
--- a/tests/local.at
+++ b/tests/local.at
@@ -35,4 +35,7 @@ RPMPY_CHECK([$2], [$3], [$4])
 AT_CLEANUP
 ])
 
+# Enable colored test output if available
+m4_ifdef([AT_COLOR_TESTS], [AT_COLOR_TESTS])
+
 AT_INIT
-- 
1.8.3.1



More information about the Rpm-maint mailing list