From: Michael Tremer Date: Sat, 8 Jun 2019 15:22:22 +0000 (+0100) Subject: tests: Enable debug logging X-Git-Tag: 0.9.28~1285^2~962 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=faa4dbb26ed2b8aa5cc6c80a5abfcfebe16a3dcf;p=pakfire.git tests: Enable debug logging Signed-off-by: Michael Tremer --- diff --git a/tests/testsuite.c b/tests/testsuite.c index 4a9992e35..627f8ef8b 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -43,6 +43,9 @@ static int test_run(test_t* t) { // Log to stderr pakfire_log_set_function(t->pakfire, pakfire_log_stderr); + // Enable debug logging + pakfire_log_set_priority(t->pakfire, LOG_DEBUG); + int r = t->func(t); if (r) LOG("Test failed with error code: %d\n", r);