RESOLVED FIXED 190247
[WPE][GTK] API test runner fails to respect default build type
https://bugs.webkit.org/show_bug.cgi?id=190247
Summary [WPE][GTK] API test runner fails to respect default build type
Michael Catanzaro
Reported 2018-10-03 06:59:48 PDT
$ run-gtk-tests No handlers could be found for logger "webkitpy.thirdparty.autoinstalled.keyring.backend" Could not determine build directory. Problem is it's looking for a release build, even though I've run set-webkit-configuration --debug. It should look for a debug build unless I explicitly pass --release.
Attachments
Patch (2.00 KB, patch)
2018-10-03 07:01 PDT, Michael Catanzaro
no flags
Michael Catanzaro
Comment 1 2018-10-03 07:01:08 PDT
Adrian Perez
Comment 2 2018-10-03 08:17:40 PDT
Comment on attachment 351517 [details] Patch LGTM, informally.
Carlos Garcia Campos
Comment 3 2018-11-05 02:24:30 PST
Comment on attachment 351517 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=351517&action=review > Tools/glib/api_test_runner.py:51 > + if self._options.debug: > + self._build_type = "Debug" > + elif self._options.release: > + self._build_type = "Release" > + else: > + self._build_type = self._port.default_configuration() > + common.set_build_types((self._build_type,)) Why did you move this after the port and driver initialization?
Michael Catanzaro
Comment 4 2018-11-05 08:20:17 PST
Comment on attachment 351517 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=351517&action=review >> Tools/glib/api_test_runner.py:51 >> + common.set_build_types((self._build_type,)) > > Why did you move this after the port and driver initialization? To be able to use self._port on the line above!
WebKit Commit Bot
Comment 5 2018-11-05 08:45:27 PST
Comment on attachment 351517 [details] Patch Clearing flags on attachment: 351517 Committed r237805: <https://trac.webkit.org/changeset/237805>
WebKit Commit Bot
Comment 6 2018-11-05 08:45:29 PST
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.