Port.test_type returns "unknown" for many tests with knowable types. |
||||
Issue descriptionFor example: $ ./print-layout-test-types external/wpt/2dcontext/fill-and-stroke-styles/2d.strokeStyle.default.html prints "unknown", although the test contains "testharness.js" and is listed in MANIFEST.json as a testharness test. Currently test_type is determined only by what type of baselines exist in the file system, but instead it could be determined the same way it's determined when running the tests.
,
Jul 18
The script has been renamed, but `third_party/blink/tools/print_web_test_types.py external/wpt/2dcontext/fill-and-stroke-styles/2d.strokeStyle.default.html` does still say "unknown". qyearsley@, assigning to you for extra details. I can't find this script used anywhere, nor the internal print_layout_test_types in blinkpy. Can we just remove the script?
,
Jul 18
I believe we can just remove it. Uploaded https://chromium-review.googlesource.com/c/chromium/src/+/1142229.
,
Jul 19
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/40dc5cb91ad0286abc06dbb213067da6445044ff commit 40dc5cb91ad0286abc06dbb213067da6445044ff Author: Quinten Yearsley <qyearsley@chromium.org> Date: Thu Jul 19 01:21:07 2018 [blinkpy] Remove Port.test_type and print_web_test_types.py Port.test_type just tries to guess about test type based on baselines; it sometimes returns "unknown" for test types that actually are knowable (e.g. because they're in wpt manifest). This method isn't used except in the script print_web_test_types.py, and I believe nobody is using that script. Bug: 740997 Change-Id: I1e98601504affd2d75ab92409ae20da9d28b92a4 Reviewed-on: https://chromium-review.googlesource.com/1142229 Commit-Queue: Quinten Yearsley <qyearsley@chromium.org> Reviewed-by: Robert Ma <robertma@chromium.org> Cr-Commit-Position: refs/heads/master@{#576299} [modify] https://crrev.com/40dc5cb91ad0286abc06dbb213067da6445044ff/third_party/blink/tools/blinkpy/web_tests/port/base.py [delete] https://crrev.com/15272e4210056c25b91fccca353ff0be47522eaf/third_party/blink/tools/blinkpy/web_tests/print_layout_test_types.py [delete] https://crrev.com/15272e4210056c25b91fccca353ff0be47522eaf/third_party/blink/tools/blinkpy/web_tests/print_layout_test_types_unittest.py [delete] https://crrev.com/15272e4210056c25b91fccca353ff0be47522eaf/third_party/blink/tools/print_web_test_types.py
,
Jul 19
|
||||
►
Sign in to add a comment |
||||
Comment 1 by sheriffbot@chromium.org
, Jul 12Status: Untriaged (was: Available)