mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
34 lines
904 B
Diff
34 lines
904 B
Diff
From e764a1d64e6d6b4cd0552832405bf4494eb96834 Mon Sep 17 00:00:00 2001
|
|
From: Alexey Zapparov <alexey@zapparov.com>
|
|
Date: Mon, 20 Apr 2026 00:24:55 +0200
|
|
Subject: [PATCH] fix: Skip dependencies tests
|
|
|
|
ruby-install does not support `emerge` package manager,
|
|
thus `dependencies` are never set by default.
|
|
---
|
|
test/ruby-install-tests/init_test.sh | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/test/ruby-install-tests/init_test.sh b/test/ruby-install-tests/init_test.sh
|
|
index 4eab55a..14c3d40 100755
|
|
--- a/test/ruby-install-tests/init_test.sh
|
|
+++ b/test/ruby-install-tests/init_test.sh
|
|
@@ -69,10 +69,14 @@ function test_init_with_ruby_url()
|
|
|
|
function test_init_ruby_dependencies()
|
|
{
|
|
init
|
|
|
|
+ if [[ -z "$package_manager" ]]; then
|
|
+ startSkipping
|
|
+ fi
|
|
+
|
|
assertTrue "did not set \$ruby_dependencies" \
|
|
'(( ${#ruby_dependencies[@]} > 0 ))'
|
|
}
|
|
|
|
function test_init_ruby_md5()
|
|
--
|
|
2.52.0
|
|
|