Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/Homebrew/brew.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Sep 14, 2013
  2. Sep 13, 2013
  3. Sep 12, 2013
  4. Sep 11, 2013
  5. Sep 10, 2013
  6. Sep 09, 2013
  7. Sep 08, 2013
  8. Sep 07, 2013
  9. Sep 06, 2013
  10. Sep 05, 2013
    • Samuel John's avatar
      Improve python tests for brew bots · 59a0c1e1
      Samuel John authored
      Allow `build.with?` and similar methods to be used during the test
      phase. The BuildOptions (`build`) are initialized with the
      `Tab.used_options` unless explicitly overwritten on the command line.
      
      So basically `build.with?` works in `def install` and in `test do` as
      one would naively expect. (For the test, gramatically it should be
      `built.with?` but who cares)
      
      If a formula was installed `--with-python`, now the tests are also
      run `--with-python`. This enables us to use the `python do ... end` in
      a meaningful manner.
      
      Using `python do ... end` blocks for the tests, because the bot.brew.sh has
      system python per default and we need to set the PYTHONPATH for the test.
      Potentially to different values for Python 2.x and 3.x.
      59a0c1e1
Loading