Merge pull request #2091 from reitermarkus/spec-exclude-needs_macos

Exclude specs with `:needs_macos` tag when not on macOS.
This commit is contained in:
Markus Reiter 2017-02-23 09:34:17 +01:00 committed by GitHub
commit 3f8e52e574

View File

@ -82,6 +82,8 @@ module Homebrew
"--format", "ParallelTests::RSpec::RuntimeLogger",
"--out", "tmp/parallel_runtime_rspec.log"
]
spec_args << "--tag" << "~needs_macos" unless OS.mac?
run_tests "parallel_rspec", spec_files, spec_args
if (fs_leak_log = HOMEBREW_LIBRARY_PATH/"tmp/fs_leak.log").file?