aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
2015-09-11update: fix when `HEAD` doesn't exist.Mike McQuaid
e.g. when it's a detached `HEAD` through checking out a commit rather than a branch.
2015-09-07Add El Capitan testball bottle.Mike McQuaid
2015-09-07update: explicitly no-ff merge and rebase.Josh Hagins
This overrides user configuration which may do otherwise. Closes Homebrew/homebrew#41570. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-06add test_formularyXu Cheng
Closes Homebrew/homebrew#43506. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-06test_integration_cmds: fix syntax warningXu Cheng
Library/Homebrew/test/test_integration_cmds.rb:68: warning: ambiguous first argument; put parentheses or even spaces
2015-09-06remove Formula#file_modified?Alex Dunn
It's been more trouble than it's worth. Fixes Homebrew/homebrew#43607. Closes Homebrew/homebrew#43049. Closes Homebrew/homebrew#43615. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-03fix style problems in migratorVlad Shablinsky
Closes Homebrew/homebrew#43473. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-28tweak String#undent so that only leading whitespace up to the first ↵William Woodruff
indentation level is gsubbed, change test_undent to reflect change and add test_undent_nested to test new behavior
2015-08-27update: always report changes to branch 'master'Martin Afanasjew
If the user's working copy is *not* on the 'master' branch, the revision recorded after the update to the 'master' branch is not the one of the updated 'master' branch but that of whatever the user's current branch is. This tends to be not very helpful. This change records the revision *after* the update to the 'master' branch, but *before* switching back to the user's current branch prior to the update, effectively causing the report to show changes to the 'master' branch. Closes Homebrew/homebrew#42074. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-25include git sha1 in --version outputTim D. Smith
HOMEBREW_VERSION doesn't change very often; the repository state is more interesting. Closes Homebrew/homebrew#41886.
2015-08-22core file style updateXu Cheng
2015-08-21Merge bottle install without Xcode branchMisty De Meo
Merge branch 'bottle_hooks'
2015-08-21Add tests for pouring bottle without XcodeWilliam Woodruff
add testball_bottle formula for upcoming bottle unit testing, as well as bottles directory containing test bottle (and symlinks)
2015-08-20test_migrator: fix lock file leakXu Cheng
Closes Homebrew/homebrew#43025. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-18unnecessary calls to .select simplifiedBaptiste Fontaine
These are minor perf optimizations. Closes Homebrew/homebrew#43028. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-17test_keg: add tests for oldname optlinkVlad Shablinsky
Closes Homebrew/homebrew#42998. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-16which: tests addedBaptiste Fontaine
Closes Homebrew/homebrew#42954. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-15let tests pass on Xcode-only systemsTim D. Smith
Closes Homebrew/homebrew#42976.
2015-08-10add test/test_migratorVlad Shablinsky
2015-08-06test_formula: add test_facotry_with_fully_qualified_nameXu Cheng
Closes Homebrew/homebrew#42550. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-06test_inreplace: temporary disable rubocop string replacement ruleXu Cheng
2015-08-06more core file style updated by rubocopXu Cheng
2015-08-03fix ruby syntax warningsXu Cheng
Closes Homebrew/homebrew#42409. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-31test_tab: add test for Tab#specXu Cheng
Fixes Homebrew/homebrew#42147. Closes Homebrew/homebrew#42205. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-31test_formula: add more testXu Cheng
2015-07-28KegOnlyReason: print only the explanation if there’s oneBaptiste Fontaine
Closes Homebrew/homebrew#42073. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-28test_integration_cmds: basic integration tests.Mike McQuaid
Closes Homebrew/homebrew#41945. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-28.simplecov: use lower root directory.Mike McQuaid
2015-07-28Move simplecov configuration to dotfile.Mike McQuaid
2015-07-28test/lib/config: HOMEBREW_LIBRARY_PATH is normally a Pathname.Mike McQuaid
2015-07-28testball: use sha256.Mike McQuaid
2015-07-28testing_env: point to `bundle install` now.Mike McQuaid
2015-07-25more unit testsBaptiste Fontaine
Closes Homebrew/homebrew#42096. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-22tests: always run fs leak checkXu Cheng
2015-07-22test_formula_installer: fix log file leakXu Cheng
2015-07-22tests: fix patching test for no-compat modeXu Cheng
Closes Homebrew/homebrew#41977. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-21coverage: stop recording compat codesXu Cheng
Closes Homebrew/homebrew#41973. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-21test_formula_installer: remove ScriptFileFormula testXu Cheng
It's deprecated and breaks `brew tests` in no-compat mode.
2015-07-20'brew tests' optional coverage measure addedBaptiste Fontaine
Closes Homebrew/homebrew#41890. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-18fetch/build formula from source when modifiedAlex Dunn
closes Homebrew/homebrew#36068 Closes Homebrew/homebrew#41397. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-13Merge test gitignore into root version.Mike McQuaid
libgit2 clients struggle at parsing these otherwise because of how we set up our ignore rules. And remove now unneeded formula ignore rule. Closes Homebrew/homebrew#41593. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-10test_updater: fix pull argument ordering.Mike McQuaid
2015-07-09update: stash save/pop uncommitted changes.Mike McQuaid
Also: - return to your previous branch after `brew update`. Closes Homebrew/homebrew#38568. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-06auto resolve bottle root_url based on tapXu Cheng
2015-07-06fix error message in test_updaterXu Cheng
Closes Homebrew/homebrew#41372. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-29Language module requirement: fix perl testMisty De Meo
The name of the module is "Env", not "ENV"; this test would fail on a case-sensitive filesystem.
2015-06-17Run tests for both build environmentsJack Nagel
2015-06-16Rename requirements named *Dependency.Mike McQuaid
Dependency is another similar, related class and it's super confusing to have some Requirements that are named *Dependency. Closes Homebrew/homebrew#38891. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-13Update minitestJack Nagel