[Webkit-unassigned] [Bug 104850] Fix detection of ref test files in old and new run webkit tests
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 12 18:31:43 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=104850
Elliott Sprehn <esprehn at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |esprehn at chromium.org
--- Comment #6 from Elliott Sprehn <esprehn at chromium.org> 2012-12-12 18:34:05 PST ---
This broke run-webkit-tests for me:
Using port 'chromium-linux-x86_64'
Test configuration: <lucid, x86_64, debug>
Placing test results in /media/Checkouts/chrome1/src/webkit/Debug/layout-test-results
Baseline search path: chromium-linux -> chromium-win -> chromium -> generic
Using Debug build
Pixel tests enabled
Regular timeout: 12000, slow test timeout: 60000
Command line: /media/Checkouts/chrome1/src/out/Debug/DumpRenderTree -
Collecting tests ...
AttributeError raised: 'str' object has no attribute 'startsWith'
Traceback (most recent call last):
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 407, in main
run_details = run(port, options, args, stderr)
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 105, in run
run_details = manager.run(args)
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 346, in run
paths, test_names = self._collect_tests(args)
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 265, in _collect_tests
return self._finder.find_tests(self._options, args)
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py", line 50, in find_tests
test_files = self._port.tests(paths)
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py", line 580, in tests
tests = self._real_tests(expanded_paths)
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py", line 600, in _real_tests
files = find_files.find(self._filesystem, self.layout_tests_dir(), paths, skipped_directories, Port._is_test_file, self.test_key)
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/common/find_files.py", line 61, in find
return _normalized_find(filesystem, _normalize(filesystem, base_dir, paths), skipped_directories, file_filter, directory_sort_key)
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/common/find_files.py", line 83, in _normalized_find
all_files = itertools.chain(*(sort_by_directory_key(filesystem.files_under(path, skipped_directories, file_filter)) for path in paths_to_walk))
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/common/find_files.py", line 83, in <genexpr>
all_files = itertools.chain(*(sort_by_directory_key(filesystem.files_under(path, skipped_directories, file_filter)) for path in paths_to_walk))
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem.py", line 109, in files_under
if file_filter(self, dirpath, filename):
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py", line 626, in _is_test_file
return Port._has_supported_extension(filesystem, filename) and not Port.is_reference_html_file(filesystem, dirname, filename)
File "/media/Checkouts/chrome1/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py", line 610, in is_reference_html_file
if filename.startswith('ref-') or filename.startsWith('notref-'):
AttributeError: 'str' object has no attribute 'startsWith'
Failed to execute Tools/Scripts/new-run-webkit-tests at ./Tools/Scripts/run-webkit-tests line 126.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list