From 1601d17776a75e6387838f7554e6ab00810c807d Mon Sep 17 00:00:00 2001 From: Michelle Weidling <weidling@sub.uni-goettingen.de> Date: Mon, 16 Nov 2020 08:52:31 +0100 Subject: [PATCH] tests: only get relevant output (cf. #61) --- exist-app/modules/testtrigger.xqm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/exist-app/modules/testtrigger.xqm b/exist-app/modules/testtrigger.xqm index 997d4ed5..9c2ab167 100644 --- a/exist-app/modules/testtrigger.xqm +++ b/exist-app/modules/testtrigger.xqm @@ -53,4 +53,10 @@ order by $result//@package return and $result//@errors = 0) then <OK name="{local:get-human-readable-pkg-name($result//@package)}" package="{$result//@package}"/> else - $result \ No newline at end of file + <PROBLEM name="{local:get-human-readable-pkg-name($result//@package)}" + package="{$result//@package}" + errors="{$result//@errors}" + failures="{$result//@failures}"> + {$result//testcase[child::*[self::failure or self::error]]} + </PROBLEM> + \ No newline at end of file -- GitLab