Enable verbose tests and print content of failing tests output file.
Gbp-Pq: Topic debian
Gbp-Pq: Name verbose-tests.patch
CLEAN_LOCALS += clean-local-tests
-TESTS_OPTIONS = --nonroot --show-diff
+TESTS_OPTIONS = --nonroot --show-diff --verbose --parallel=1
TESTS_PARALLEL = --parallel
TESTS_COMPONENTS =
TESTS_COMMAND = $(top_srcdir)/tests/run.sh \
ts_report " $msg ($1)"
fi
+ if [ "$TS_VERBOSE" = "yes" ]; then
+ echo ========= script: $TS_SCRIPT =================
+ echo ================= OUTPUT =====================
+ cat -n $TS_OUTPUT
+ echo ================= EXPECTED ===================
+ cat -n $TS_EXPECTED
+ echo ================= O/E diff ===================
+ diff -u $TS_OUTPUT $TS_EXPECTED
+ echo ==============================================
+ fi
+
return $ret
}