diff tests/test-run-tests.t @ 33814:81b12f69ef5b

run-tests: also color the summary messages (skipped, failed...)
author Matthieu Laneuville <matthieu.laneuville@octobus.net>
date Fri, 11 Aug 2017 14:21:49 +0200
parents 1fa6023240f4
children 6cc8f848b4c3
line wrap: on
line diff
--- a/tests/test-run-tests.t	Sun Aug 13 00:17:13 2017 -0700
+++ b/tests/test-run-tests.t	Fri Aug 11 14:21:49 2017 +0200
@@ -131,10 +131,9 @@
   \x1b[38;5;34m+  bar*baz (glob)\x1b[39m (esc)
      bar*bad (glob)
   \x1b[38;5;124m-  bar*baz (glob)\x1b[39m (esc)
-  
-  ERROR: test-failure.t output changed
+  \x1b[38;5;88mERROR: \x1b[39m\x1b[38;5;9mtest-failure.t\x1b[39m\x1b[38;5;88m output changed\x1b[39m (esc)
   !
-  Failed test-failure.t: output changed
+  \x1b[38;5;88mFailed \x1b[39m\x1b[38;5;9mtest-failure.t\x1b[39m\x1b[38;5;88m: output changed\x1b[39m (esc)
   # Ran 1 tests, 0 skipped, 1 failed.
   python hash seed: * (glob)
   [1]