aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-07-29 20:02:07 -0600
committerMike McQuaid2016-07-29 21:21:02 -0600
commit696f497e3224f0ff4d91895f819de3325aa44e20 (patch)
treeb1863c4ce49daab66c5c35552e47ef5bec928acb /Library
parentc3739dc441604a7a929da5c9b3f2818981a968b2 (diff)
downloadbrew-696f497e3224f0ff4d91895f819de3325aa44e20.tar.bz2
test-bot: skip update-test on non-Mac.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dev-cmd/test-bot.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb
index 3e2f559ee..5c4d7000e 100644
--- a/Library/Homebrew/dev-cmd/test-bot.rb
+++ b/Library/Homebrew/dev-cmd/test-bot.rb
@@ -668,10 +668,13 @@ module Homebrew
test "brew", "tests", "--generic", *tests_args
test "brew", "tests", "--no-compat", *tests_args_coverage
test "brew", "readall", "--syntax"
- # test update from origin/master to current commit.
- test "brew", "update-test"
- # test no-op update from current commit (to current commit, a no-op).
- test "brew", "update-test", "--commit=HEAD"
+ # TODO: try to fix this on Linux at some stage.
+ if OS.mac?
+ # test update from origin/master to current commit.
+ test "brew", "update-test"
+ # test no-op update from current commit (to current commit, a no-op).
+ test "brew", "update-test", "--commit=HEAD"
+ end
else
test "brew", "readall", "--aliases", @tap.name
end