aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Zapparov <alexey@zapparov.com>2023-05-29 23:34:10 +0200
committerAlexey Zapparov <alexey@zapparov.com>2023-05-29 23:38:32 +0200
commit8b140d464ca6103bc8de626b56ba2a57bb219da6 (patch)
tree1389303b52c2dbaff64ed48d765156cbe78c7e86 /dev-ruby
parentdev-ruby/rbspy: drop 0.12.1 (diff)
downloadguru-8b140d464ca6103bc8de626b56ba2a57bb219da6.tar.gz
guru-8b140d464ca6103bc8de626b56ba2a57bb219da6.tar.bz2
guru-8b140d464ca6103bc8de626b56ba2a57bb219da6.zip
dev-ruby/rbspy: Disable failing tests
These tests require root priviledges to run properly. Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rbspy/rbspy-0.17.0-r1.ebuild (renamed from dev-ruby/rbspy/rbspy-0.17.0.ebuild)12
1 files changed, 11 insertions, 1 deletions
diff --git a/dev-ruby/rbspy/rbspy-0.17.0.ebuild b/dev-ruby/rbspy/rbspy-0.17.0-r1.ebuild
index 43d1f2e0c..82ba2aaf1 100644
--- a/dev-ruby/rbspy/rbspy-0.17.0.ebuild
+++ b/dev-ruby/rbspy/rbspy-0.17.0-r1.ebuild
@@ -202,8 +202,18 @@ PATCHES=(
"${FILESDIR}/${P}-remove-time-dependency.patch"
)
+src_test() {
+ local skip=(
+ --skip sampler::tests::test_sample_single_process
+ --skip sampler::tests::test_sample_single_process_with_time_limit
+ --skip core::ruby_spy::tests::test_get_trace_when_process_has_exited
+ --skip core::ruby_spy::tests::test_get_trace
+ --skip sampler::tests::test_sample_subprocesses
+ )
+ cargo_src_test -- "${skip[@]}"
+}
+
src_install() {
cargo_src_install
-
dodoc README.md
}