Closed Bug 1256650 Opened 9 years ago Closed 9 years ago

Autophone - deal with removal of --bootstrap option in remotereftest.py

Categories

(Testing Graveyard :: Autophone, defect)

defect
Not set
normal

Tracking

(firefox48 affected)

RESOLVED FIXED
Tracking Status
firefox48 --- affected

People

(Reporter: bc, Unassigned)

References

Details

Attachments

(1 file)

The reftest based unit tests no longer work on trunk due to the removal of the --bootstrap option. Two options I can think of off hand are: 1. check if the branch >= 48 and date >= the checkin date then don't use --bootstrap. 2. actually run remotereftest.py --help and look in the output for --bootstrap. Kind of looking at #2 as the solution. ahal: please ping me when removing command line arguments in the reftest/mochitest test runners. thanks.
Sorry bc! I did a dxr of --bootstrap and didn't see it being used anywhere, so thought it was dead code. The removal of --bootstrap has been uplifted all the way to beta already though.. so if you don't test release, then you may not need the check.
Actually, even before my patch --bootstrap was actually not being used anywhere. So you can just remove it from your configs entirely and it should just work everywhere. E.g: http://mxr.mozilla.org/mozilla-release/search?string=bootstrap&find=layout%2Ftools%2Freftest&findi=&filter=%5E%5B%5E%5C0%5D*%24&hitlimit=&tree=mozilla-release See how there's dest='bootstrap' in the argparser, but then options.bootstrap isn't referenced anywhere.
ahal, thanks! The usage appears to have been removed in Bug 1181516 on 2015-09-17 15:03:20 PDT so, lets just call it a day and remove it altogether.
Attachment #8730746 - Flags: review?(jmaher)
Comment on attachment 8730746 [details] [diff] [review] bug-1256650-v1.patch Review of attachment 8730746 [details] [diff] [review]: ----------------------------------------------------------------- yay for code removal!
Attachment #8730746 - Flags: review?(jmaher) → review+
deployed 2016-03-15 ~22:46
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
doh, deployed 2016-03-16 ~22:46
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: