RESOLVED WONTFIX 45856
new-run-webkit-tests: make port configurations data-driven, not hardcoded
https://bugs.webkit.org/show_bug.cgi?id=45856
Summary new-run-webkit-tests: make port configurations data-driven, not hardcoded
Dirk Pranke
Reported 2010-09-15 17:55:34 PDT
new-run-webkit-tests: make port configurations data-driven, not hardcoded
Attachments
Patch (15.71 KB, patch)
2010-09-15 17:56 PDT, Dirk Pranke
no flags
Patch (17.84 KB, patch)
2010-09-15 18:02 PDT, Dirk Pranke
no flags
Dirk Pranke
Comment 1 2010-09-15 17:56:41 PDT
Dirk Pranke
Comment 2 2010-09-15 18:02:33 PDT
Tony Chang
Comment 3 2010-09-16 16:47:37 PDT
Comment on attachment 67749 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=67749&action=prettypatch Do you plan on this configuration value to always be the same as options.configuration? It might be a bit confusing to have this and options.configuration as different values (e.g., we use options.configuration to find the test binary). Also, are you sure we want to replace Debug/Release with this? Even if a port wants to override this, wouldn't we still want to be able to differentiate Debug vs Release builds (e.g., GPUDEBUG vs GPURELEASE)? I guess I'm not sure we should deprecate |is_debug_mode|. > WebKitTools/Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:129 > + tests, test_platform_name=test_platform_name, > + is_lint_mode=is_lint_mode, tests_are_present=tests_are_present, > + overrides=overrides, configuration=configuration) It seems weird to name parameters that aren't named in the prototype (is_lint_mode and configuration). Can we just pass the arguments in in the same order as defined in __init__?
Dirk Pranke
Comment 4 2010-09-16 21:08:23 PDT
Comment on attachment 67749 [details] Patch per conversation w/ tony@chromium.org, there's no real need for the list of configurations to be overrideable on a per-port basis, and there's already a list of build types in test_expectations.py. I will rewrite the code accordingly and upload a different patch.
Dirk Pranke
Comment 5 2010-12-08 14:35:28 PST
Marking as WONTFIX ... I will take a slightly different approach to this as part of the GPU expectations merge.
Note You need to log in before you can comment on or make changes to this bug.