summaryrefslogtreecommitdiffstats
path: root/source/l/libxslt/0001-runtest-Print-output-causing-failure.patch
blob: 1fd87b732e3faeb13df627647f44405377528262 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Sat, 15 Jun 2024 00:22:58 +0200
Subject: [PATCH] runtest: Print output causing failure

---
 tests/runtest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/runtest.c b/tests/runtest.c
index 56eb31f1dc8c..fea4bd3c61f4 100644
--- a/tests/runtest.c
+++ b/tests/runtest.c
@@ -668,17 +668,17 @@ xsltTest(const char *filename, int options) {
     res = compareFileMem(outFilename, (char *) out, outSize);
     if (res != 0) {
         fprintf(stderr, "Result for %s failed\n", filename);
-        /* printf("####\n%s####\n", out); */
+        printf("####\n%s####\n", out);
         ret = -1;
     }
     free(outFilename);
     xmlFree(out);
 
     errFilename = changeSuffix(filename, errSuffix);
     res = compareFileMem(errFilename, testErrors, testErrorsSize);
     if (res != 0) {
         fprintf(stderr, "Error for %s failed\n", filename);
-        /* printf("####\n%s####\n", testErrors); */
+        printf("####\n%s####\n", testErrors);
         ret = -1;
     }
     free(errFilename);