aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/dev-cmd/tests.rb4
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