From 0e0d5c41643ce763e4148c3525f706277277b256 Mon Sep 17 00:00:00 2001 From: "Ronny (tastytea) Gutbrod" Date: Wed, 27 May 2020 10:36:24 +0200 Subject: [PATCH] net-misc/castor: Set RUST_BACKTRACE=1 for tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This “fixes” a failing test on ~amd64: . Signed-off-by: Ronny (tastytea) Gutbrod --- net-misc/castor/castor-0.8.11.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/net-misc/castor/castor-0.8.11.ebuild b/net-misc/castor/castor-0.8.11.ebuild index 13487678aa..7a72b545a8 100644 --- a/net-misc/castor/castor-0.8.11.ebuild +++ b/net-misc/castor/castor-0.8.11.ebuild @@ -134,6 +134,11 @@ src_prepare() { sed -i 's/Categories=Browser/Categories=Network/' data/Castor.desktop || die } +src_test() { + # FIXME: test absolute_url::test_make_absolute_just_path fails without this. + RUST_BACKTRACE=1 cargo_src_test +} + src_install() { cargo_src_install