Module: OS::Mac::TestBot::Formulae Private
- Extended by:
- T::Helpers
- Included in:
- Homebrew::TestBot::Formulae
- Defined in:
- extend/os/mac/test_bot.rb
This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.
Instance Method Summary collapse
Instance Method Details
#integration_test_portable_ruby? ⇒ Boolean
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
45 46 47 48 49 |
# File 'extend/os/mac/test_bot.rb', line 45 def integration_test_portable_ruby? # tests fail on macOS when currently running portable Ruby is replaced using same path portable_ruby_version = (HOMEBREW_LIBRARY_PATH/"vendor/portable-ruby-version").read.chomp portable_ruby_version != ::Formula["portable-ruby"].pkg_version.to_s end |
#setup_bottle_sudo_purge!(args:) ⇒ void
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
This method returns an undefined value.
38 39 40 41 42 |
# File 'extend/os/mac/test_bot.rb', line 38 def setup_bottle_sudo_purge!(args:) # This is needed where sparse files may be handled (bsdtar >=3.0). # We use gnu-tar with sparse files disabled when --only-json-tab is passed. ENV["HOMEBREW_BOTTLE_SUDO_PURGE"] = "1" if MacOS.version >= :catalina && !args.only_json_tab? end |