commit: 5fa8a6536e6a83169b188830928ea40ba384853c Author: YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red> AuthorDate: Wed Jul 7 19:28:54 2021 +0000 Commit: YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red> CommitDate: Wed Jul 7 19:28:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5fa8a653
app-misc/watchexec: fix tests invocation for library part This package is internally consists of library and CLI. Library part contains a dummy executable which fails to compile, so fixed to run tests for library without attempting to build everything. Closes: https://bugs.gentoo.org/789120 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: YOSHIOKA Takuma <lo48576 <AT> hard-wi.red> app-misc/watchexec/watchexec-1.16.0.ebuild | 5 +++++ app-misc/watchexec/watchexec-1.16.1.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/app-misc/watchexec/watchexec-1.16.0.ebuild b/app-misc/watchexec/watchexec-1.16.0.ebuild index 7f190dac2..ed218488f 100644 --- a/app-misc/watchexec/watchexec-1.16.0.ebuild +++ b/app-misc/watchexec/watchexec-1.16.0.ebuild @@ -132,3 +132,8 @@ src_install() { insinto /usr/share/zsh/site-functions newins completions/zsh _watchexec } + +src_test() { + cargo_src_test --manifest-path lib/Cargo.toml --lib + cargo_src_test --manifest-path cli/Cargo.toml +} diff --git a/app-misc/watchexec/watchexec-1.16.1.ebuild b/app-misc/watchexec/watchexec-1.16.1.ebuild index 39db72f7f..99a44d537 100644 --- a/app-misc/watchexec/watchexec-1.16.1.ebuild +++ b/app-misc/watchexec/watchexec-1.16.1.ebuild @@ -157,3 +157,8 @@ src_install() { insinto /usr/share/zsh/site-functions newins completions/zsh _watchexec } + +src_test() { + cargo_src_test --manifest-path lib/Cargo.toml --lib + cargo_src_test --manifest-path cli/Cargo.toml +}
