From 32490821656b7ddcdabda559e6f165f2f8b58058 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 20 Apr 2022 00:09:30 +0000 Subject: [PATCH] Update maintainers, manpage and completions. Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow. --- completions/bash/brew | 1 + completions/fish/brew.fish | 1 + completions/zsh/_brew | 3 ++- docs/Manpage.md | 2 ++ manpages/brew.1 | 4 ++++ 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/completions/bash/brew b/completions/bash/brew index 9d9ba55bf5..424d7e4244 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -2006,6 +2006,7 @@ _brew_tests() { -*) __brewcomp " --byebug + --changed --coverage --debug --generic diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 505049d885..7984c21e75 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -1356,6 +1356,7 @@ __fish_brew_complete_arg 'test' -a '(__fish_brew_suggest_formulae_installed)' __fish_brew_complete_cmd 'tests' 'Run Homebrew\'s unit and integration tests' __fish_brew_complete_arg 'tests' -l byebug -d 'Enable debugging using byebug' +__fish_brew_complete_arg 'tests' -l changed -d 'Only runs tests on files that were changed from the master branch' __fish_brew_complete_arg 'tests' -l coverage -d 'Generate code coverage reports' __fish_brew_complete_arg 'tests' -l debug -d 'Display any debugging information' __fish_brew_complete_arg 'tests' -l generic -d 'Run only OS-agnostic tests' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index bead0f46d9..56f6406ca1 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -1659,13 +1659,14 @@ _brew_test() { _brew_tests() { _arguments \ '--byebug[Enable debugging using byebug]' \ + '(--only)--changed[Only runs tests on files that were changed from the master branch]' \ '--coverage[Generate code coverage reports]' \ '--debug[Display any debugging information]' \ '--generic[Run only OS-agnostic tests]' \ '--help[Show this message]' \ '--no-compat[Do not load the compatibility layer when running tests]' \ '--online[Include tests that use the GitHub API and tests that use any of the taps for official external commands]' \ - '--only[Run only test_script`_spec.rb`. Appending `:`line_number will start at a specific line]' \ + '(--changed)--only[Run only test_script`_spec.rb`. Appending `:`line_number will start at a specific line]' \ '--quiet[Make some output more quiet]' \ '--seed[Randomise tests with the specified value instead of a random seed]' \ '--verbose[Make some output more verbose]' diff --git a/docs/Manpage.md b/docs/Manpage.md index 120f1d67c5..b774c5de36 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1453,6 +1453,8 @@ Run Homebrew's unit and integration tests. Include tests that use the GitHub API and tests that use any of the taps for official external commands. * `--byebug`: Enable debugging using byebug. +* `--changed`: + Only runs tests on files that were changed from the master branch. * `--only`: Run only *`test_script`*`_spec.rb`. Appending `:`*`line_number`* will start at a specific line. * `--seed`: diff --git a/manpages/brew.1 b/manpages/brew.1 index d014317d84..64e5505a94 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -2063,6 +2063,10 @@ Include tests that use the GitHub API and tests that use any of the taps for off Enable debugging using byebug\. . .TP +\fB\-\-changed\fR +Only runs tests on files that were changed from the master branch\. +. +.TP \fB\-\-only\fR Run only \fItest_script\fR\fB_spec\.rb\fR\. Appending \fB:\fR\fIline_number\fR will start at a specific line\. .