Bug 84823 - [chromium] Make DRT work without the --test-shell flag in new-run-webkit-tests
Summary: [chromium] Make DRT work without the --test-shell flag in new-run-webkit-tests
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dirk Pranke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-24 20:23 PDT by Dirk Pranke
Modified: 2012-05-04 11:54 PDT (History)
5 users (show)

See Also:


Attachments
work-in-progress roll-up patch (26.78 KB, patch)
2012-04-24 20:24 PDT, Dirk Pranke
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Pranke 2012-04-24 20:23:07 PDT
[chromium] Make DRT work without the --test-shell flag
Comment 1 Dirk Pranke 2012-04-24 20:24:38 PDT
Created attachment 138726 [details]
work-in-progress roll-up patch
Comment 2 Eric Seidel (no email) 2012-04-24 20:33:43 PDT
Comment on attachment 138726 [details]
work-in-progress roll-up patch

View in context: https://bugs.webkit.org/attachment.cgi?id=138726&action=review

> Tools/Scripts/webkitpy/layout_tests/port/chromium.py:402
> +        self._test_shell = '--test-shell' in port.get_option('additional_drt_flag')

I'm not sure I understand this part.
Comment 3 Dirk Pranke 2012-04-25 09:12:12 PDT
(In reply to comment #2)
> (From update of attachment 138726 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=138726&action=review
> 
> > Tools/Scripts/webkitpy/layout_tests/port/chromium.py:402
> > +        self._test_shell = '--test-shell' in port.get_option('additional_drt_flag')
> 
> I'm not sure I understand this part.

This is how we toggle between --test-shell mode and not in the chromium.py code, rather than adding yet another obscure command line flag to NRWT itself.

Eventually this code will go away and we won't support --test-shell mode at all, but this is here now for testing. It's not suitable to land as-is, though, since I'm fairly certain it would break chromium win completely, and may not work on linux either (will know more today).
Comment 4 Dirk Pranke 2012-04-25 14:56:21 PDT
It looks like this more-or-less works on mac and linux, so I'm going to start carving this up into reviewable patches. Win is probably going to take some more work, so I'm planning to make this on by default on Mac and Linux and off by default on Win.
Comment 5 Dirk Pranke 2012-05-04 11:54:16 PDT
This is now on everywhere. Closing.