<?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>67936</bug_id>
          
          <creation_ts>2011-09-12 08:16:45 -0700</creation_ts>
          <short_desc>REGRESSION(r81225): ORWT should ignore reftests</short_desc>
          <delta_ts>2012-01-17 08:21:50 -0800</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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          <blocked>55936</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Balazs Ankes">bank</assigned_to>
          <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>465611</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-09-12 08:16:45 -0700</bug_when>
    <thetext>When I run ORWT, the following tests are missing from tests_run.txt: (All of them are ref test)
editing/pasteboard/data-transfer-items-image-png.html
fast/forms/checkbox-appearance-change-by-checked.html
fast/forms/file-input-reset.html
fast/forms/file/file-reset-in-change.html
fast/forms/placeholder-in-invisible-elements.html
fast/forms/range/input-appearance-range-rtl.html
fast/forms/search-cancel-in-invisible-elements.html
fast/harness/font-weight-bold.html
fast/harness/sample-fail-mismatch-reftest-expected-mismatch.html
fast/harness/sample-mismatch-reftest-expected-mismatch.html
fast/harness/sample-mismatch-reftest.html

When I passed these tests to the commandline of ORWT, it 
reported that they are new tests without expected files.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537011</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-01-17 03:51:22 -0800</bug_when>
    <thetext>If you don&apos;t pass any parameter to ORWT or if you pass directory, it ignores reftests, because it can&apos;t handle reftests. It&apos;s correct behaviour. But if you pass complete test names it reports that they are new tests without expected files. The correct solution can be that ORWT should ignore reftests always.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537043</commentid>
    <comment_count>2</comment_count>
      <attachid>122753</attachid>
    <who name="Balazs Ankes">bank</who>
    <bug_when>2012-01-17 06:10:04 -0800</bug_when>
    <thetext>Created attachment 122753
proposed fix

Based on Csaba Osztrogonac&apos;s first comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537045</commentid>
    <comment_count>3</comment_count>
      <attachid>122753</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-01-17 06:16:26 -0800</bug_when>
    <thetext>Comment on attachment 122753
proposed fix

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

LGTM, but the changelog isn&apos;t so talkative, please fix it.

&gt; Tools/ChangeLog:4
&gt; +        [ORWT] Call isUsedInReftest() in findTestsToRun if you pass complete test name.
&gt; +        https://bugs.webkit.org/show_bug.cgi?id=67936

REGRESSION(r81225): ORWT should ignore reftests
https://bugs.webkit.org/show_bug.cgi?id=67936

&gt; Tools/ChangeLog:10
&gt; +        (isUsedInReftest):
&gt; +        (findTestsToRun):

(isUsedInReftest): $filename should be the first parameter
(findTestsToRun): run test if it isn&apos;t reftest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537110</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-01-17 08:12:11 -0800</bug_when>
    <thetext>Fixed patch landed in http://trac.webkit.org/changeset/105162</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>122753</attachid>
            <date>2012-01-17 06:10:04 -0800</date>
            <delta_ts>2012-01-17 08:12:28 -0800</delta_ts>
            <desc>proposed fix</desc>
            <filename>2012-01-17_orwt.patch</filename>
            <type>text/plain</type>
            <size>1628</size>
            <attacher name="Balazs Ankes">bank</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2xzL0NoYW5nZUxvZwppbmRleCBlMmUy
MWJiNC4uYzA3MWI2OCAxMDA2NDQKLS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0No
YW5nZUxvZwpAQCAtMSwzICsxLDE0IEBACisyMDEyLTAxLTE3ICBCYWxhenMgQW5rZXMgIDxBbmtl
cy5CYWxhenNAc3R1ZC51LXN6ZWdlZC5odT4KKworICAgICAgICBbT1JXVF0gQ2FsbCBpc1VzZWRJ
blJlZnRlc3QoKSBpbiBmaW5kVGVzdHNUb1J1biBpZiB5b3UgcGFzcyBjb21wbGV0ZSB0ZXN0IG5h
bWUuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD02Nzkz
NgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogU2Ny
aXB0cy9vbGQtcnVuLXdlYmtpdC10ZXN0czoKKyAgICAgICAgKGlzVXNlZEluUmVmdGVzdCk6Cisg
ICAgICAgIChmaW5kVGVzdHNUb1J1bik6CisKIDIwMTItMDEtMDMgIFRvciBBcm5lIFZlc3Riw7gg
IDx0b3IuYXJuZS52ZXN0Ym9Abm9raWEuY29tPgogCiAgICAgICAgIFtRdF0gSW50cm9kdWNlIHFt
YWtlIHJlcGxhY2UgZnVuY3Rpb24gZm9yIHRoZSBhY3RpdmUgY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