dev-ruby/rbspy: Disable failing tests

These tests require root priviledges to run properly.

Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
This commit is contained in:
Alexey Zapparov
2023-05-29 23:34:10 +02:00
parent 9d84dccb9b
commit 8b140d464c

View File

@@ -202,8 +202,18 @@ PATCHES=(
"${FILESDIR}/${P}-remove-time-dependency.patch" "${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() { src_install() {
cargo_src_install cargo_src_install
dodoc README.md dodoc README.md
} }