ruby-changes:58714
From: Kazuhiro <ko1@a...>
Date: Mon, 11 Nov 2019 19:04:36 +0900 (JST)
Subject: [ruby-changes:58714] 9d3213ac85 (master): Skip test_validate_gemspec unless git installed
https://git.ruby-lang.org/ruby.git/commit/?id=9d3213ac85 From 9d3213ac856e1f5930bda555d4d65b173c6cdf83 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Mon, 11 Nov 2019 19:03:43 +0900 Subject: Skip test_validate_gemspec unless git installed diff --git a/test/ruby/test_default_gems.rb b/test/ruby/test_default_gems.rb index 837f757..f29b17f 100644 --- a/test/ruby/test_default_gems.rb +++ b/test/ruby/test_default_gems.rb @@ -4,6 +4,7 @@ require 'rubygems' https://github.com/ruby/ruby/blob/trunk/test/ruby/test_default_gems.rb#L4 class TestDefaultGems < Test::Unit::TestCase def test_validate_gemspec + skip "git not found" unless system("git", "--version", %i[out err]=>IO::NULL) srcdir = File.expand_path('../../..', __FILE__) Dir.glob("#{srcdir}/{lib,ext}/**/*.gemspec").map do |src| assert_nothing_raised do -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/