<?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>92627</bug_id>
          
          <creation_ts>2012-07-30 04:12:21 -0700</creation_ts>
          <short_desc>[Qt][NRWT] REGRESSION(123729): Forcing pixel tests with -p doesn&apos;t work</short_desc>
          <delta_ts>2012-07-30 12:21:01 -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>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>NRWT, Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>91754</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Balazs Kelemen">kbalazs</assigned_to>
          <cc>abarth</cc>
    
    <cc>dpranke</cc>
    
    <cc>galpeter</cc>
    
    <cc>kadam</cc>
    
    <cc>kbalazs</cc>
    
    <cc>kkristof</cc>
    
    <cc>noam</cc>
    
    <cc>ojan</cc>
    
    <cc>ossy</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>681847</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-07-30 04:12:21 -0700</bug_when>
    <thetext>&quot;run-webkit-tests --pixel-tests --pixel-test-directory X&quot; works fine, but 
&quot;run-webkit-tests --pixel-tests X.html Y.html Z-directory&quot; doesn&apos;t run pixel tests.

I think the new --pixel-test-directory shouldn&apos;t affect the original 
behaviour of NRWT when we don&apos;t use this option.

Could you check it, please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681863</commentid>
    <comment_count>1</comment_count>
    <who name="Balazs Kelemen">kbalazs</who>
    <bug_when>2012-07-30 04:37:09 -0700</bug_when>
    <thetext>This is because I made compositing the default directory for pixel testing. Maybe it was not the best idea. My idea was that maybe we want to run pixel test by default but only for the test cases that affects accelerated compositing. I made it to be a default so that developers run the same set of pixel tests as bots (without the need to know some special configuration).
One workaround could be to accept globs, so one could say --pixel-test-directory *. However, given that it&apos;s still not very clear how we want to go on with pixel testing, I could rather just remove this default behavior, so that --pixel-tests will turn on pixel testing for all tests again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681872</commentid>
    <comment_count>2</comment_count>
      <attachid>155257</attachid>
    <who name="Balazs Kelemen">kbalazs</who>
    <bug_when>2012-07-30 04:43:26 -0700</bug_when>
    <thetext>Created attachment 155257
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681874</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-07-30 04:45:20 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; This is because I made compositing the default directory for pixel testing. Maybe it was not the best idea. My idea was that maybe we want to run pixel test by default but only for the test cases that affects accelerated compositing. I made it to be a default so that developers run the same set of pixel tests as bots (without the need to know some special configuration).
&gt; One workaround could be to accept globs, so one could say --pixel-test-directory *. However, given that it&apos;s still not very clear how we want to go on with pixel testing, I could rather just remove this default behavior, so that --pixel-tests will turn on pixel testing for all tests again.

Ah, I see it now. The idea was good to switch on pixel tests by default for
compositing dir. But unfortunately its sideeffect was that we can&apos;t run pixel
tests for other dirs without passing --pixel-test-directory ...

Now I don&apos;t have idea which workaround would be better ... Don&apos;t hurry, 
we have time to find the best solution. ;-) I&apos;m examining the status,
stability, ... of pixel testing after the big rebaseline.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681878</commentid>
    <comment_count>4</comment_count>
    <who name="Balazs Kelemen">kbalazs</who>
    <bug_when>2012-07-30 04:48:34 -0700</bug_when>
    <thetext>&gt; Ah, I see it now. The idea was good to switch on pixel tests by default for
&gt; compositing dir. 

No, I was not enabled pixel testing by default, but restricted --pixel-tests to compositing (by default).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681958</commentid>
    <comment_count>5</comment_count>
      <attachid>155257</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-07-30 06:21:43 -0700</bug_when>
    <thetext>Comment on attachment 155257
Patch

Clearing flags on attachment: 155257

Committed r124020: &lt;http://trac.webkit.org/changeset/124020&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681959</commentid>
    <comment_count>6</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-07-30 06:21:50 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>682279</commentid>
    <comment_count>7</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-07-30 12:21:01 -0700</bug_when>
    <thetext>It seems like there&apos;s four different things we might want to do ...

1) don&apos;t run any pixel tests

2) run a default set

3) run a custom set

4) run all of them

One option would be to introduce a magic directory name (e.g., &quot;default&quot;), and you could then say &quot;--pixel-test-directory default --pixel-test-directory svg&quot; , etc. Another option (that I like less) would be to add another command line flag. Another option would be to not have the default set, but it seems like if this &quot;only run some of them&quot; idea is a good permanent solution we&apos;ll really want a default set.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>155257</attachid>
            <date>2012-07-30 04:43:26 -0700</date>
            <delta_ts>2012-07-30 06:21:43 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-92627-20120730134256.patch</filename>
            <type>text/plain</type>
            <size>1651</size>
            <attacher name="Balazs Kelemen">kbalazs</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTI0MDE0CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggY2Q4ZWQ3OTExNzZjMzkwOGMyNDBhM2Q3ZDMwMjk1YTQ4
MzdlYTM1Yy4uN2EwZTUzOWUzZWZhN2Q2NTNhNjAyZjQwMWY4MWEwYTIwMGU5ZDY5NiAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE3
IEBACisyMDEyLTA3LTMwICBCYWxhenMgS2VsZW1lbiAgPGtiYWxhenNAd2Via2l0Lm9yZz4KKwor
ICAgICAgICBbUXRdW05SV1RdIFJFR1JFU1NJT04oMTIzNzI5KTogRm9yY2luZyBwaXhlbCB0ZXN0
cyB3aXRoIC1wIGRvZXNuJ3Qgd29yaworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9z
aG93X2J1Zy5jZ2k/aWQ9OTI2MjcKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMh
KS4KKworICAgICAgICBSZW1vdmUgdGhlIGRlZmF1bHQgYmVoYXZpb3IgSSBhZGRlZCBpbiByMTIz
NzI5IHNvIHRoYXQgd2UgcnVuIGFsbCB0ZXN0cyBhcyBwaXhlbAorICAgICAgICB0ZXN0IHdpdGgg
LXAuIEl0IHdhcyBpbnRlbnRpb25hbCBidXQgaXQgc2VlbXMgbGlrZSB3ZSBkb24ndCBoYXZlIGNv
bnNlbnN1cyBvbgorICAgICAgICB0aGF0IHdlIHdhbnQgaXQuCisKKyAgICAgICAgKiBTY3JpcHRz
L3dlYmtpdHB5L2xheW91dF90ZXN0cy9wb3J0L3F0LnB5OgorICAgICAgICAoUXRQb3J0Ll9zdXBw
b3J0c19zd2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