Exclude specs with :needs_macos tag when not on macOS.

This commit is contained in:
Markus Reiter 2017-02-21 21:55:11 +01:00
parent ebb2b3aa6b
commit 168a96d919

View File

@ -84,6 +84,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?