Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into next-major-release
Browse files Browse the repository at this point in the history
* origin/master:
  Use skip rather than "puts WARNING:" when test can't be performed.
  Use proper system path separator in test.
  • Loading branch information
jimweirich committed Nov 11, 2012
2 parents de9c35f + caefbd3 commit be0164d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/test_rake_application_options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def test_rakefile
end

def test_rakelib
flags(['--rakelibdir', 'A:B:C'], ['--rakelibdir=A:B:C'], ['-R', 'A:B:C'], ['-RA:B:C']) do |opts|
dirs = %w(A B C).join(File::PATH_SEPARATOR)
flags(['--rakelibdir', dirs], ["--rakelibdir=#{dirs}"], ['-R', dirs], ["-R#{dirs}"]) do |opts|
assert_equal ['A', 'B', 'C'], opts.rakelib
end
end
Expand Down
2 changes: 1 addition & 1 deletion test/test_rake_functional.rb
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def test_signal_propagation_in_tests
assert_match(/ATEST/, @out)
refute_match(/BTEST/, @out)
else
puts "\nWARNING: Signal detect seems broken on this system (#{__FILE__}:#{__LINE__})"
skip "Signal detect seems broken on this system"
end
end

Expand Down

0 comments on commit be0164d

Please sign in to comment.