diff options
| author | Bob W. Hogg | 2017-03-05 20:45:48 -0800 |
|---|---|---|
| committer | Bob W. Hogg | 2017-04-15 21:20:09 -0700 |
| commit | 7b6abc76302065204e03054c0a3cd040e158efda (patch) | |
| tree | f37aea520870d0baf532183a2840bea30f334be6 /Library | |
| parent | 608d72a35fc437a0cf3e8da53729e479cde0be3d (diff) | |
| download | brew-7b6abc76302065204e03054c0a3cd040e158efda.tar.bz2 | |
Only run Linux-specific tests on Linux
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/dev-cmd/tests.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/dev-cmd/tests.rb b/Library/Homebrew/dev-cmd/tests.rb index 91c7d880b..6862c9a79 100644 --- a/Library/Homebrew/dev-cmd/tests.rb +++ b/Library/Homebrew/dev-cmd/tests.rb @@ -97,6 +97,10 @@ module Homebrew files = files.reject { |p| p =~ %r{^test/(os/mac|cask)(/.*|_spec\.rb)$} } end + unless OS.linux? + files = files.reject { |p| p =~ %r{^test/os/linux(/.*|_spec\.rb)$} } + end + if parallel system "bundle", "exec", "parallel_rspec", *opts, "--", *args, "--", *files else |
