<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>137750</bug_id>
          
          <creation_ts>2014-10-15 12:56:07 -0700</creation_ts>
          <short_desc>webkit-patch should include a test command that only runs RunTests</short_desc>
          <delta_ts>2014-10-23 10:54:51 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jake Nielsen">jake.nielsen.webkit</reporter>
          <assigned_to name="Jake Nielsen">jake.nielsen.webkit</assigned_to>
          <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dbates</cc>
    
    <cc>dfarler</cc>
    
    <cc>glenn</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1041927</commentid>
    <comment_count>0</comment_count>
    <who name="Jake Nielsen">jake.nielsen.webkit</who>
    <bug_when>2014-10-15 12:56:07 -0700</bug_when>
    <thetext>Currently the build-and-test removes local changes, cleans, builds, and then runs tests. When making changes to RunTests, only the last step is of interest. It would be nice to have a command to run in that case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1041934</commentid>
    <comment_count>1</comment_count>
      <attachid>239888</attachid>
    <who name="Jake Nielsen">jake.nielsen.webkit</who>
    <bug_when>2014-10-15 13:07:16 -0700</bug_when>
    <thetext>Created attachment 239888
Adds the test command</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042834</commentid>
    <comment_count>2</comment_count>
    <who name="Jake Nielsen">jake.nielsen.webkit</who>
    <bug_when>2014-10-20 09:31:47 -0700</bug_when>
    <thetext>bump</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042947</commentid>
    <comment_count>3</comment_count>
      <attachid>239888</attachid>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2014-10-20 13:13:34 -0700</bug_when>
    <thetext>Comment on attachment 239888
Adds the test command

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

&gt; Tools/Scripts/webkitpy/tool/commands/download.py:99
&gt; +class Test(AbstractSequencedCommand):
&gt; +    name = &quot;test&quot;
&gt; +    help_text = &quot;Run the tests&quot;
&gt; +    steps = [
&gt; +        steps.RunTests,
&gt; +    ]
&gt; +
&gt; +    def _prepare_state(self, options, args, tool):
&gt; +        options.test = True
&gt; +

Notice that steps.RunTests runs test suites that depend on a built product (e.g. Tools/Scripts/run-webkit-tests). How does this command work when we run such test suites?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042949</commentid>
    <comment_count>4</comment_count>
    <who name="Jake Nielsen">jake.nielsen.webkit</who>
    <bug_when>2014-10-20 13:17:33 -0700</bug_when>
    <thetext>bump(In reply to comment #3)
&gt; Comment on attachment 239888 [details]
&gt; Adds the test command
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=239888&amp;action=review
&gt; 
&gt; &gt; Tools/Scripts/webkitpy/tool/commands/download.py:99
&gt; &gt; +class Test(AbstractSequencedCommand):
&gt; &gt; +    name = &quot;test&quot;
&gt; &gt; +    help_text = &quot;Run the tests&quot;
&gt; &gt; +    steps = [
&gt; &gt; +        steps.RunTests,
&gt; &gt; +    ]
&gt; &gt; +
&gt; &gt; +    def _prepare_state(self, options, args, tool):
&gt; &gt; +        options.test = True
&gt; &gt; +
&gt; 
&gt; Notice that steps.RunTests runs test suites that depend on a built product
&gt; (e.g. Tools/Scripts/run-webkit-tests). How does this command work when we
&gt; run such test suites?

It assumes you&apos;ve already built.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042963</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2014-10-20 14:02:05 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; bump(In reply to comment #3)
&gt; &gt; Comment on attachment 239888 [details]
&gt; &gt; Adds the test command
&gt; &gt; 
&gt; &gt; View in context:
&gt; &gt; https://bugs.webkit.org/attachment.cgi?id=239888&amp;action=review
&gt; &gt; 
&gt; &gt; &gt; Tools/Scripts/webkitpy/tool/commands/download.py:99
&gt; &gt; &gt; +class Test(AbstractSequencedCommand):
&gt; &gt; &gt; +    name = &quot;test&quot;
&gt; &gt; &gt; +    help_text = &quot;Run the tests&quot;
&gt; &gt; &gt; +    steps = [
&gt; &gt; &gt; +        steps.RunTests,
&gt; &gt; &gt; +    ]
&gt; &gt; &gt; +
&gt; &gt; &gt; +    def _prepare_state(self, options, args, tool):
&gt; &gt; &gt; +        options.test = True
&gt; &gt; &gt; +
&gt; &gt; 
&gt; &gt; Notice that steps.RunTests runs test suites that depend on a built product
&gt; &gt; (e.g. Tools/Scripts/run-webkit-tests). How does this command work when we
&gt; &gt; run such test suites?
&gt; 
&gt; It assumes you&apos;ve already built.

Can you elaborate? Specifically, are you referring to run-webkit-tests when you say &quot;it&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042965</commentid>
    <comment_count>6</comment_count>
    <who name="Jake Nielsen">jake.nielsen.webkit</who>
    <bug_when>2014-10-20 14:13:01 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; bump(In reply to comment #3)
&gt; &gt; &gt; Comment on attachment 239888 [details]
&gt; &gt; &gt; Adds the test command
&gt; &gt; &gt; 
&gt; &gt; &gt; View in context:
&gt; &gt; &gt; https://bugs.webkit.org/attachment.cgi?id=239888&amp;action=review
&gt; &gt; &gt; 
&gt; &gt; &gt; &gt; Tools/Scripts/webkitpy/tool/commands/download.py:99
&gt; &gt; &gt; &gt; +class Test(AbstractSequencedCommand):
&gt; &gt; &gt; &gt; +    name = &quot;test&quot;
&gt; &gt; &gt; &gt; +    help_text = &quot;Run the tests&quot;
&gt; &gt; &gt; &gt; +    steps = [
&gt; &gt; &gt; &gt; +        steps.RunTests,
&gt; &gt; &gt; &gt; +    ]
&gt; &gt; &gt; &gt; +
&gt; &gt; &gt; &gt; +    def _prepare_state(self, options, args, tool):
&gt; &gt; &gt; &gt; +        options.test = True
&gt; &gt; &gt; &gt; +
&gt; &gt; &gt; 
&gt; &gt; &gt; Notice that steps.RunTests runs test suites that depend on a built product
&gt; &gt; &gt; (e.g. Tools/Scripts/run-webkit-tests). How does this command work when we
&gt; &gt; &gt; run such test suites?
&gt; &gt; 
&gt; &gt; It assumes you&apos;ve already built.
&gt; 
&gt; Can you elaborate? Specifically, are you referring to run-webkit-tests when
&gt; you say &quot;it&quot;?

Oh, I meant the &quot;test&quot; command that got added to download.py by this patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043773</commentid>
    <comment_count>7</comment_count>
    <who name="Jake Nielsen">jake.nielsen.webkit</who>
    <bug_when>2014-10-23 10:54:28 -0700</bug_when>
    <thetext>I stand corrected. This is equivalent to
./webkit-patch build-and-test --no-clean --no-update --test
so that&apos;s what I&apos;ll use.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>239888</attachid>
            <date>2014-10-15 13:07:16 -0700</date>
            <delta_ts>2014-10-20 13:13:34 -0700</delta_ts>
            <desc>Adds the test command</desc>
            <filename>0001-webkit-patch-should-include-a-test-command-that-only.patch</filename>
            <type>text/plain</type>
            <size>2074</size>
            <attacher name="Jake Nielsen">jake.nielsen.webkit</attacher>
            
              <data enco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ZC5weQpAQCAt
ODcsNiArODcsMTcgQEAgY2xhc3MgQnVpbGRBbmRUZXN0KEFic3RyYWN0U2VxdWVuY2VkQ29tbWFu
ZCk6CiAgICAgXQogCiAKK2NsYXNzIFRlc3QoQWJzdHJhY3RTZXF1ZW5jZWRDb21tYW5kKToKKyAg
ICBuYW1lID0gInRlc3QiCisgICAgaGVscF90ZXh0ID0gIlJ1biB0aGUgdGVzdHMiCisgICAgc3Rl
cHMgPSBbCisgICAgICAgIHN0ZXBzLlJ1blRlc3RzLAorICAgIF0KKworICAgIGRlZiBfcHJlcGFy
ZV9zdGF0ZShzZWxmLCBvcHRpb25zLCBhcmdzLCB0b29sKToKKyAgICAgICAgb3B0aW9ucy50ZXN0
ID0gVHJ1ZQorCisKIGNsYXNzIExhbmQoQWJzdHJhY3RTZXF1ZW5jZWRDb21tYW5kKToKICAgICBu
YW1lID0gImxhbmQiCiAgICAgaGVscF90ZXh0ID0gIkxhbmQgdGhlIGN1cnJlbnQgd29ya2luZyBk
aXJlY3RvcnkgZGlmZiBhbmQgdXBkYXRlcyB0aGUgYXNzb2NpYXRlZCBidWcgaWYgYW55IgotLSAK
MS45LjMgKEFwcGxlIEdpdC01MCkKCg==
</data>
<flag name="review"
          id="264638"
          type_id="1"
          status="-"
          setter="dbates"
    />
    <flag name="commit-queue"
          id="264639"
          type_id="3"
          status="-"
          setter="dbates"
    />
          </attachment>
      

    </bug>

</bugzilla>