From: Otto Moerbeek Date: Thu, 9 Oct 2025 12:12:46 +0000 (+0200) Subject: Check return status of rec unit test run when using meson X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16231%2Fhead;p=thirdparty%2Fpdns.git Check return status of rec unit test run when using meson Signed-off-by: Otto Moerbeek --- diff --git a/tasks.py b/tasks.py index d0dbb6c343..cadafb433e 100644 --- a/tasks.py +++ b/tasks.py @@ -932,10 +932,11 @@ def ci_rec_run_unit_tests(c, meson=False): logfile = 'meson-logs/testlog.txt' res = c.run(f'meson test --verbose -t {suite_timeout_sec}', warn=True) else: + logfile = 'test-suite.log' res = c.run('make check', warn=True) - if res.exited != 0: - c.run('cat test-suite.log') - raise UnexpectedExit(res) + if res.exited != 0: + c.run(f'cat {logfile}', warn=True) + raise UnexpectedExit(res) @task def ci_dnsdist_run_unit_tests(c, builder):