aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/test.rb
AgeCommit message (Collapse)Author
2015-11-10test: enable sandbox by default.Mike McQuaid
Closes Homebrew/homebrew#45843. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-10test: allow writing to certain var directoriesXu Cheng
Closes Homebrew/homebrew#44458. Closes Homebrew/homebrew#44773. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-10test: sanitize ARGV optionsXu Cheng
Otherwise, it will use the wrong prefix to test devel/HEAD install.
2015-08-25sandbox: permit /var/tmp & DerivedDataDominyk Tiller
Long term it would be nice to sandbox everything that writes to DerivedData but it is essentially a cache directory of sorts. The downside of allowing stuff to write there particularly is that DerivedData is notoriously bad at getting cleaned up, so if you do a lot of Xcode-using installations very quickly, you can chew your disk space up. Closes Homebrew/homebrew#43276. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-31print sandbox messageXu Cheng
Closes Homebrew/homebrew#42293. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22auto disable sandbox for interactive shellXu Cheng
Closes Homebrew/homebrew#38792. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-29test: use Formula#full_nameXu Cheng
2015-05-27test: use ARGV.resolved_formulaeXu Cheng
2015-04-29Let the test environment inject its own load pathJack Nagel
2015-04-26Fix variable nameJack Nagel
2015-04-26Fix variable nameJack Nagel
2015-04-25Add Formula#logsJack Nagel
2015-04-21test: add missing `require "timeout"`Xu Cheng
When the timeout exception is propagated backed from `safe_fork`, it requires "timeout" to restore the exception.
2015-04-17sandbox: record logXu Cheng
Closes Homebrew/homebrew#38711. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-15sandbox testXu Cheng
2015-01-13Add message to the exception raised when tests return falseJack Nagel
2015-01-13Move assertion setup into formula_assertions.rbJack Nagel
2015-01-13Save and restore ENV around test invocationsJack Nagel
This prevents mutations that happen in individual tests from leaking into other tests.
2014-09-18Implement `brew test --debug`Jack Nagel
2014-08-01add helpers for formula testsAdam Vandenberg
2014-07-11Try to workaround gem packaging shenanigansJack Nagel
2014-06-19Remove more unused requiresJack Nagel
2014-06-19Only "extend self" once on the Homebrew moduleJack Nagel
2014-06-18Stop hiding exceptions completely in `brew test`Jack Nagel
2014-06-18Fix `brew test` when conflicting minitest gems are installedJack Nagel
2014-06-12Support older Minitest constantJack Nagel
2014-06-04Rescue Minitest::Assertion under Ruby 2.0Jack Nagel
2013-08-19Rename HomebrewEnvExtension to StdenvJack Nagel
2013-06-08Make Test::Unit assertions available in formula testsJack Nagel
Closes Homebrew/homebrew#18753. Closes Homebrew/homebrew#20358.
2013-06-08brew-test: add five minute timeout.Mike McQuaid
2013-01-07Detect when tests are definedJack Nagel
2012-09-11test: be less eager to set up the build environmentJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-30Add ofail command and fix bottle command output.Mike McQuaid
2012-04-20test: improve "formula not installed" error textJack Nagel
Closes Homebrew/homebrew#11779. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-29Exit with bad exit code on command failures.Mike McQuaid
2012-03-13`brew test` now gets a compilation environmentAdam Vandenberg
2012-02-18test: returning false indicates failureJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-04Warn the user of required argumentsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-03-12'brew test' now an official commandAdam Vandenberg