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 be6ccb0e2a4f..03d3c284fd3c 100644
--- a/tests/runtest.c
+++ b/tests/runtest.c
@@ -413,17 +413,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);
