Files
guru/dev-ruby/ruby-install/files/ruby-install-0.10.2-skip-dependencies-tests.patch
Alexey Zapparov 69eeeefb1e dev-ruby/ruby-install: add 0.10.2
Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
2026-04-20 00:30:27 +02:00

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