diff options
| author | Alyssa Ross | 2016-09-20 14:57:08 +0100 |
|---|---|---|
| committer | Alyssa Ross | 2016-09-20 15:48:00 +0100 |
| commit | 869fb0214971f3dbcccbe1915702ffc7e7d69d16 (patch) | |
| tree | 6387cb0b1eda2faec16e1d3eb82a4971d3691497 /Library/Homebrew/cask | |
| parent | 651303f62df934d61dd3c317b84b417537d91d8b (diff) | |
| download | brew-869fb0214971f3dbcccbe1915702ffc7e7d69d16.tar.bz2 | |
tests, cask-tests: serialize stdout on CI
Diffstat (limited to 'Library/Homebrew/cask')
| -rwxr-xr-x | Library/Homebrew/cask/cmd/brew-cask-tests.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/cmd/brew-cask-tests.rb b/Library/Homebrew/cask/cmd/brew-cask-tests.rb index 019c3ca24..2523061a2 100755 --- a/Library/Homebrew/cask/cmd/brew-cask-tests.rb +++ b/Library/Homebrew/cask/cmd/brew-cask-tests.rb @@ -1,7 +1,10 @@ require "English" def run_tests(executable, files, args = []) - system "bundle", "exec", executable, "--", *args, "--", *files + opts = [] + opts << "--serialize-stdout" if ENV["CI"] + + system "bundle", "exec", executable, *opts, "--", *args, "--", *files end repo_root = Pathname(__FILE__).realpath.parent.parent |
