diff tests/test-run-tests.t @ 33500:9c6e64911de0

run-tests: disable color on Windows More Windows sadness. Maybe someone can figure out how to make win32 color work, but I think we avoid importing stuff from the mercurial package in this module. On the plus side, this conditionalizes away a test failure.
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 15 Jul 2017 00:52:36 -0400
parents e80041832eec
children 754569f5e999
line wrap: on
line diff
--- a/tests/test-run-tests.t	Fri Jul 14 14:22:40 2017 -0700
+++ b/tests/test-run-tests.t	Sat Jul 15 00:52:36 2017 -0400
@@ -121,6 +121,7 @@
 
 test diff colorisation
 
+#if no-windows
   $ rt test-failure.t --color always
   
   \x1b[38;5;124m--- $TESTTMP/test-failure.t\x1b[39m (esc)
@@ -155,6 +156,7 @@
   Failed test-failure.t: output changed
   # Ran 1 tests, 0 skipped, 1 failed.
   python hash seed: * (glob)
+#endif
 
 basic failing test
   $ cat > test-failure.t << EOF