Source: liboauth2
Version: 2.1.0-1
Severity: wishlist

Dear Maintainer, hi!

I was tracking a test suite failure in liboauth2 because a new version
(8.13-rc1) of curl in experimental and couldn't access test-suite.log.
I'm attaching a patch to add it to autopkgtest's artifacts so it's
available as a test artifact. I also did open a MR on salsa [1] if you
prefer merging there.

Cheers,
Charles
>From 6f5c650a8d4f74cf0d012dc0a2bc473f4d30f333 Mon Sep 17 00:00:00 2001
From: Carlos Henrique Lima Melara <charlesmel...@riseup.net>
Date: Wed, 12 Mar 2025 18:56:29 -0300
Subject: [PATCH] d/t/unit-test: copy test-suite.log to AUTOPKGTEST_ARTIFACTS

Now we can access the log by downloading the artifacts directly from
debci or salsa-ci, no need to re-run locally to get it using a shell
after the failure.
---
 debian/tests/unit-test | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/tests/unit-test b/debian/tests/unit-test
index d58543c..7da3f5f 100644
--- a/debian/tests/unit-test
+++ b/debian/tests/unit-test
@@ -14,3 +14,5 @@ ln -s /usr/lib/$(dpkg-architecture -qDEB_BUILD_MULTIARCH)/liboauth2.so.? .libs/
 ln -s /usr/lib/$(dpkg-architecture -qDEB_BUILD_MULTIARCH)/liboauth2.so.?.?.? .libs/
 
 C_INCLUDE_PATH=/usr/include/apache2/ make check
+
+cp -v test-suite.log "$AUTOPKGTEST_ARTIFACTS"
-- 
2.47.2

Reply via email to