mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
x11-misc/leftwm-theme: fix tests
Closes: https://bugs.gentoo.org/912304 Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>
This commit is contained in:
@@ -216,6 +216,14 @@ src_unpack() {
|
||||
cargo_src_unpack
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# leftwm-theme requires an internet connection pass "test_update_repos"
|
||||
# unfortunately it doesn't look like that there's an option to skip particular tests in cargo.eclass
|
||||
cargo test $(usex debug "" --release) ${ECARGO_ARGS[@]} "$@" -- --skip test_update_repos
|
||||
einfo "${@}"
|
||||
"${@}" || die "cargo test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
cd target/$(usex debug debug release) || die
|
||||
|
||||
Reference in New Issue
Block a user