From 36d53fcbb7abec1eb3ab903fbbb4a7c54d12cf1e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 18 Sep 2014 14:16:07 -0500 Subject: Implement `brew test --debug` --- Library/Contributions/manpages/brew.1.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Library/Contributions/manpages') diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 38b864409..533fbfa01 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -179,8 +179,7 @@ Note that these flags should only appear after a command. several different ways. See [SPECIFYING FORMULAE][]. If `--debug` is passed and brewing fails, open an interactive debugging - session with access to IRB, ruby-debug, or a shell inside the temporary - build directory. + session with access to IRB or a shell inside the temporary build directory. If `--env=std` is passed, use the standard build environment instead of superenv. @@ -332,14 +331,17 @@ Note that these flags should only appear after a command. Ensures all tapped formula are symlinked into Library/Formula and prunes dead formula from Library/Formula. - * `test` [--devel|--HEAD] : + * `test` [--devel|--HEAD] [--debug] : A few formulae provide a test method. `brew test ` runs this test method. There is no standard output or return code, but it should generally indicate to the user if something is wrong with the installed formula. - To test the development or head version of a formula, `--devel` or - `--HEAD` must be passed., + To test the development or head version of a formula, use `--devel` or + `--HEAD`. + + If `--debug` is passed and the test fails, an interactive debugger will be + launched with access to IRB or a shell inside the temporary test directory. Example: `brew install jruby && brew test jruby` -- cgit v1.2.3