1 |
commit: 0e0d5c41643ce763e4148c3525f706277277b256 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Wed May 27 08:36:24 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Wed May 27 08:49:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e0d5c41 |
7 |
|
8 |
net-misc/castor: Set RUST_BACKTRACE=1 for tests. |
9 |
|
10 |
This “fixes” a failing test on ~amd64: <https://github.com/gentoo/guru/commit/bfb30ee#commitcomment-39466543>. |
11 |
|
12 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
13 |
|
14 |
net-misc/castor/castor-0.8.11.ebuild | 5 +++++ |
15 |
1 file changed, 5 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/castor/castor-0.8.11.ebuild b/net-misc/castor/castor-0.8.11.ebuild |
18 |
index 1348767..7a72b54 100644 |
19 |
--- a/net-misc/castor/castor-0.8.11.ebuild |
20 |
+++ b/net-misc/castor/castor-0.8.11.ebuild |
21 |
@@ -134,6 +134,11 @@ src_prepare() { |
22 |
sed -i 's/Categories=Browser/Categories=Network/' data/Castor.desktop || die |
23 |
} |
24 |
|
25 |
+src_test() { |
26 |
+ # FIXME: test absolute_url::test_make_absolute_just_path fails without this. |
27 |
+ RUST_BACKTRACE=1 cargo_src_test |
28 |
+} |
29 |
+ |
30 |
src_install() { |
31 |
cargo_src_install |