RESOLVED FIXED 48071
test-webkitpy fails when passed -v (or any other option)
https://bugs.webkit.org/show_bug.cgi?id=48071
Summary test-webkitpy fails when passed -v (or any other option)
Eric Seidel (no email)
Reported 2010-10-21 09:16:52 PDT
test_get_option__set (webkitpy.layout_tests.port.base_unittest.PortTest) ... Usage: test-webkitpy [options] test-webkitpy: error: no such option: -v ERROR test_set_option_default__set (webkitpy.layout_tests.port.base_unittest.PortTest) ... Usage: test-webkitpy [options] test-webkitpy: error: no such option: -v ERROR test_set_option_default__unset (webkitpy.layout_tests.port.base_unittest.PortTest) ... ok
Attachments
Patch (1.90 KB, patch)
2010-10-22 14:57 PDT, Dirk Pranke
no flags
Eric Seidel (no email)
Comment 1 2010-10-21 09:18:18 PDT
====================================================================== ERROR: test_get_option__set (webkitpy.layout_tests.port.base_unittest.PortTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Projects/WebKit/WebKitTools/Scripts/webkitpy/layout_tests/port/base_unittest.py", line 253, in test_get_option__set options, args = optparse.OptionParser().parse_args() File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/optparse.py", line 1382, in parse_args self.error(str(err)) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/optparse.py", line 1564, in error self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg)) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/optparse.py", line 1554, in exit sys.exit(status) SystemExit: 2 ====================================================================== ERROR: test_set_option_default__set (webkitpy.layout_tests.port.base_unittest.PortTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Projects/WebKit/WebKitTools/Scripts/webkitpy/layout_tests/port/base_unittest.py", line 272, in test_set_option_default__set options, args = optparse.OptionParser().parse_args() File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/optparse.py", line 1382, in parse_args self.error(str(err)) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/optparse.py", line 1564, in error self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg)) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/optparse.py", line 1554, in exit sys.exit(status) SystemExit: 2 ---------------------------------------------------------------------- Ran 644 tests in 46.632s
Dirk Pranke
Comment 2 2010-10-22 14:57:17 PDT
Eric Seidel (no email)
Comment 3 2010-10-22 14:59:50 PDT
Comment on attachment 71599 [details] Patch OK.
Dirk Pranke
Comment 4 2010-10-22 15:11:48 PDT
Comment on attachment 71599 [details] Patch Clearing flags on attachment: 71599 Committed r70350: <http://trac.webkit.org/changeset/70350>
Dirk Pranke
Comment 5 2010-10-22 15:11:54 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.