summaryrefslogtreecommitdiff
path: root/tests/dh_xul-ext/test
diff options
context:
space:
mode:
authorMatthias Schmitz <matthias@sigxcpu.org>2013-04-14 11:33:50 +0200
committerMatthias Schmitz <matthias@sigxcpu.org>2013-04-14 11:33:50 +0200
commit8285ba56867788228ec7831e0efca6691c01f0ca (patch)
treed0fea7d1776fa467a76c6af2be147f6624875f7c /tests/dh_xul-ext/test
parent2f3f4f5f006cbfff5255cf29db6f904d9a9db8bf (diff)
Make failed test output more visible (print in red).
Diffstat (limited to 'tests/dh_xul-ext/test')
-rwxr-xr-xtests/dh_xul-ext/test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dh_xul-ext/test b/tests/dh_xul-ext/test
index 02085b8..fa98a77 100755
--- a/tests/dh_xul-ext/test
+++ b/tests/dh_xul-ext/test
@@ -43,9 +43,9 @@ def compare_files(file1, file2):
actual = open(file1).read().strip()
expected = open(file2).read().strip()
if actual != expected:
- raise TestError("Actual substvars files differs from expected file.\n"
+ raise TestError("\033[91m Actual substvars files differs from expected file.\n"
"Expected content:\n" + expected + "\n" + \
- "Actual content:\n" + actual)
+ "Actual content:\n" + actual + "\033[0m")
def test_dh_xul_ext(test):
basedir = os.path.dirname(__file__)