Closed Bug 1240767 Opened 10 years ago Closed 10 years ago

Running 'mach robocop' with wrong test name runs all tests

Categories

(Firefox for Android Graveyard :: Testing, defect)

All
Android
defect
Not set
normal

Tracking

(firefox46 fixed)

RESOLVED FIXED
Firefox 46
Tracking Status
firefox46 --- fixed

People

(Reporter: sebastian, Assigned: gbrown)

Details

Attachments

(1 file)

Running 'mach robocop' with a mistype test name seems to run ALL tests: > ./mach robocop testBanana
This is especially confusing if you type the correct name but the test is not listed in robocop.ini :)
Assignee: nobody → gbrown
'mach mochitest' handles bad test paths; I modelled the robocop solution on that. Now: $ ./mach robocop testBanana From _tests: Kept 20009 existing; Added/updated 0; Removed 0 files and 0 directories. The robocop command could not find any tests under the following test path(s): testBanana Please check spelling and make sure the named tests exist. 'mach robocop' and 'mach <valid-test-path>' continue to work as before.
Attachment #8709550 - Flags: review?(jmaher)
Comment on attachment 8709550 [details] [diff] [review] print message if specified test path not found in manifest Review of attachment 8709550 [details] [diff] [review]: ----------------------------------------------------------------- I am not very familiar with this code, but it does look to be what would prevent us from running all.
Attachment #8709550 - Flags: review?(jmaher) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: