<?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>182729</bug_id>
          
          <creation_ts>2018-02-13 07:03:35 -0800</creation_ts>
          <short_desc>run-jsc-stress-tests - skip a test if any of the run commands evals to skip</short_desc>
          <delta_ts>2018-02-15 08:50:30 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>182730</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tomas Popela">tpopela</reporter>
          <assigned_to name="Tomas Popela">tpopela</assigned_to>
          <cc>fpizlo</cc>
    
    <cc>lforschler</cc>
    
    <cc>mark.lam</cc>
    
    <cc>saam</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1398651</commentid>
    <comment_count>0</comment_count>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2018-02-13 07:03:35 -0800</bug_when>
    <thetext>Imagine, that we have the following run command in the beginning of some stress tests:

//@ defaultNoEagerRun

now, we don&apos;t want to run this test if JIT is disabled (because the test is failing there). What we could do is:

//@ if $jitTests then defaultNoEagerRun else skip end

but I personally don&apos;t like it.. Better would be to use:

//@ skip if not $jitTests
//@ defaultNoEagerRun

but this does not work right now, because Tools/Scripts/run-jsc-stress-tests will analyse the first line, skip the run as expected, but then will start to analyse the second line and will schedule a run. We should skip further analysis if the test is skipped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1398654</commentid>
    <comment_count>1</comment_count>
      <attachid>333688</attachid>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2018-02-13 07:18:36 -0800</bug_when>
    <thetext>Created attachment 333688
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399460</commentid>
    <comment_count>2</comment_count>
      <attachid>333688</attachid>
    <who name="Saam Barati">saam</who>
    <bug_when>2018-02-15 08:17:14 -0800</bug_when>
    <thetext>Comment on attachment 333688
Patch

r=me

The only thing slightly unintuitive here is you could have code like:
//@ runXYZ
//@ skip

And we’ll print out that we’re skipping. But it’s probably ok to not care about this</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399472</commentid>
    <comment_count>3</comment_count>
      <attachid>333688</attachid>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2018-02-15 08:49:07 -0800</bug_when>
    <thetext>Comment on attachment 333688
Patch

Clearing flags on attachment: 333688

Committed r228512: &lt;https://trac.webkit.org/changeset/228512&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399473</commentid>
    <comment_count>4</comment_count>
    <who name="Tomas Popela">tpopela</who>
    <bug_when>2018-02-15 08:49:11 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399477</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-02-15 08:50:30 -0800</bug_when>
    <thetext>&lt;rdar://problem/37571539&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>333688</attachid>
            <date>2018-02-13 07:18:36 -0800</date>
            <delta_ts>2018-02-15 08:49:07 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-182729-20180213161835.patch</filename>
            <type>text/plain</type>
            <size>1873</size>
            <attacher name="Tomas Popela">tpopela</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjI4NDE3CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggNTQ4MmFhNDliZGQzMDMzOWRmOGFkY2Y1Y2Q2ZjU0ZDQ4
OGE5NGY3OS4uMmE0ZWQ5ODM4MGM5ZmYxMjc2ZmUwNjI1NDBlZjE5NzBjZGMwNjI1ZiAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE5
IEBACisyMDE4LTAyLTEzICBUb21hcyBQb3BlbGEgIDx0cG9wZWxhQHJlZGhhdC5jb20+CisKKyAg
ICAgICAgcnVuLWpzYy1zdHJlc3MtdGVzdHMgLSBza2lwIGEgdGVzdCBpZiBhbnkgb2YgdGhlIHJ1
biBjb21tYW5kcyBldmFscyB0byBza2lwCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3Jn
L3Nob3dfYnVnLmNnaT9pZD0xODI3MjkKKworICAgICAgICBJZiBtdWx0aXBsZSBydW4gY29tbWFu
ZHMgYXJlIHNwZWNpZmllZCBhbmQgb25lIG9mIHRoZW0gZXZhbHMgdG8gc2tpcCwKKyAgICAgICAg
dGhlbiB0aGUgdGVzdCBpcyBub3Qgc2tpcHBlZCwgYmVjYXVzZSB0aGUgcnVuIGlzIHNjaGVkdWxl
ZCB3aGlsZQorICAgICAgICBldmFsdWF0aW5nIG90aGVyIGNvbW1hbmRzLgorCisgICAgICAgIFJl
bWVtYmVyIGlmIHRoZSB0ZXN0IGlzIGdvaW5nIHRvIGJlIHNraXBwZWQgLSBpZiB5ZXMsIGp1c3Qg
c3RvcAorICAgICAgICBldmFsdWF0aW5nIHRoZSBvdG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kcwogICAgICAgICAgICAgICAgIGVuZAog
ICAgICAgICAgICAgICAgIG5leHQgdW5sZXNzIGRvZXNNYXRjaAogICAgICAgICAgICAgICAgIGV2
YWwgJH4ucG9zdF9tYXRjaAorICAgICAgICAgICAgICAgIGlmICRza2lwcGVkCisgICAgICAgICAg
ICAgICAgICAgIGJyZWFrCisgICAgICAgICAgICAgICAgZW5kCiAgICAgICAgICAgICB9CiAgICAg
ICAgIH0KICAgICB9CkBAIC0xMzU2LDYgKzEzNjAsNyBAQCBlbmQKIAogZGVmIHNraXAKICAgICAk
ZGlkQWRkUnVuQ29tbWFuZCA9IHRydWUKKyAgICAkc2tpcHBlZCA9IHRydWUKICAgICBwdXRzICJT
a2lwcGluZyAjeyRjb2xsZWN0aW9uTmFtZX0vI3skYmVuY2htYXJrfSIKIGVuZAogCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>