From 1761ba66bfca0784d49de10bd684cc54d53fded8 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 3 Apr 2010 08:44:41 -0700 Subject: Failures during ./configure should mention config.log. --- Library/Homebrew/test/configure_fails.tar.gz | Bin 0 -> 196 bytes Library/Homebrew/test/test_formula_install.rb | 12 ++++++++++++ Library/Homebrew/test/testball.rb | 15 +++++++++++++++ Library/Homebrew/test/testing_env.rb | 16 ++++++++++++++-- 4 files changed, 41 insertions(+), 2 deletions(-) create mode 100755 Library/Homebrew/test/configure_fails.tar.gz (limited to 'Library/Homebrew/test') diff --git a/Library/Homebrew/test/configure_fails.tar.gz b/Library/Homebrew/test/configure_fails.tar.gz new file mode 100755 index 000000000..8be00ee46 Binary files /dev/null and b/Library/Homebrew/test/configure_fails.tar.gz differ diff --git a/Library/Homebrew/test/test_formula_install.rb b/Library/Homebrew/test/test_formula_install.rb index eb2dcb491..db1a2b103 100644 --- a/Library/Homebrew/test/test_formula_install.rb +++ b/Library/Homebrew/test/test_formula_install.rb @@ -21,6 +21,18 @@ class TestScriptFileFormula e + assert e.was_running_configure? + end + end +end + + class InstallTests < Test::Unit::TestCase def temporary_install f # Brew and install the given formula diff --git a/Library/Homebrew/test/testball.rb b/Library/Homebrew/test/testball.rb index 6393342e5..58af9d2b7 100644 --- a/Library/Homebrew/test/testball.rb +++ b/Library/Homebrew/test/testball.rb @@ -12,3 +12,18 @@ class TestBall