DescriptionFix a minor test bug in test-webkitpy
main_unittest was relying on the original sys.argv and passing that
to the arg-parsing code. If somehow you had something in argv that
wasn't a valid argument to test-webkitpy (e.g., by testing w/
unittest directly), the test would fail and raise SystemExit.
This was an unnecessarily fragile design, so I fixed to preserve
the original sys.argv and replace it for the test w/ something predictable.
R=eseidel@chromium.org
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178484
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|