commit: 0e0d5c41643ce763e4148c3525f706277277b256 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> AuthorDate: Wed May 27 08:36:24 2020 +0000 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> CommitDate: Wed May 27 08:49:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e0d5c41
net-misc/castor: Set RUST_BACKTRACE=1 for tests. This “fixes” a failing test on ~amd64: <https://github.com/gentoo/guru/commit/bfb30ee#commitcomment-39466543>. Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> 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 1348767..7a72b54 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