From 696f497e3224f0ff4d91895f819de3325aa44e20 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 29 Jul 2016 20:02:07 -0600 Subject: [PATCH] test-bot: skip update-test on non-Mac. --- Library/Homebrew/dev-cmd/test-bot.rb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb index 3e2f559ee4..5c4d7000e3 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