aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_ENV.rb
AgeCommit message (Collapse)Author
2016-11-16Reorder and rename test files.Markus Reiter
2016-09-27Rename/merge test files.Markus Reiter
2016-06-16ENV: mark gcc-6 as supporting C++11 (#349)msbit
Add SharedEnvExtension#gcc_with_cxx11_support? to centralise the logic for checking whether a compiler is known to support C++11. Update logic to accept GCC 4.8 and above (including 6). Thereby also address oversight in #163 where support for GCC 6 was added without updating the C++11 compiler whitelist. Add tests for Superenv#cxx11. Closes #346.
2016-05-22Remove LLVM-GCC support. (#252)Mike McQuaid
At this point it's never a good compiler to use so let's just remove it.
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-17Run tests for both build environmentsJack Nagel
2015-04-25ENV.deparallelize: add block form for temporary changeMisty De Meo
Closes Homebrew/homebrew#39026.
2015-04-21Remove test that may alter the repositoryJack Nagel
2015-04-20Revert "Use real repo to run tests"Jack Nagel
This reverts commit 5aaf13c6cf784cb4be62932b3e528e8f93580a65.
2015-04-20Use real repo to run testsJack Nagel
2014-06-18Use a custom test class so we can avoid monkeypatchingJack Nagel
2014-04-29Remove test that doesn't add valueJack Nagel
2014-01-04stdenv tests: add gcc-4.0 testMisty De Meo
2013-12-12Combine superenv testsJack Nagel
2013-09-20Add tests to ensure ENV.compiler is correctJack Nagel
2013-08-26Add some tests for ENV.{append,prepend} behaviorJack Nagel
2013-08-19Add tests for ENV.{append,prepend}_pathJack Nagel
2013-08-19More robust implementation of ENV.with_build_environmentJack Nagel
2013-06-01Require hardware where it is neededJack Nagel
2013-04-07Delete pointless testJack Nagel
2013-01-22Add tests for ENV.with_build_environmentJack Nagel
2013-01-21ENV.with_build_environmentJack Nagel
2012-09-27Adjust test expectation for 'LD'Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03Stop warning in ENV.x11Jack Nagel
It has been long enough since `depends_on :x11` was introduced that we can make it the caller's responsibility to ensure X11 is present before invoking ENV.x11, so stop outputting a warning. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-25Fix tests and NoMethodError with no X11 installed.Mike McQuaid
2012-07-04tests: clean up whitespaceJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04Prune some requires from test filesJack Nagel
testing_env already requires utils; set up the ARGV and ENV extensions there as well. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-21ENV: reset LD when switching compilersJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-09Fix test_ENV on 10.7/Xcode 4.Mike McQuaid
2012-01-25Fix failing ENV testsJack Nagel
We need the ARGV extension now that we call ARGV.build_bottle? in set_cpu_cflags. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-01tests: add missing require to test_ENVJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-03-12Refactor the brew command into one file per commandMax Howell
The code was sucking. To the extent that maintenance was hard. It's a lot easier to work with code that is sensibly split at sensible boundaries. So now it is more like that. But the refactor is minimal. Because we don't want you to have more merge hell than absolutely necessary. If you merge you will need to pay attention to brew.h.rb (as it is deleted) and bin/brew (as command logic is gone). It will be painful, but you will just have to help git out by moving any changes around manually. Note compatibility.rb. It ensures that any function renames or removals don't break anything. We're pretty serious about backwards compatibility. And that's because we encourage you to hack around with the innards. And we couldn't do that if we would then just make stuff disappear behind your back.
2010-04-06Move ENV tests to separate file.Adam Vandenberg