<?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>188450</bug_id>
          
          <creation_ts>2018-08-09 14:08:20 -0700</creation_ts>
          <short_desc>test262-runner -s --test-only should replace test results</short_desc>
          <delta_ts>2018-09-04 10:17:21 -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>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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Keith Miller">keith_miller</reporter>
          <assigned_to name="Keith Miller">keith_miller</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>keith_miller</cc>
    
    <cc>leo</cc>
    
    <cc>lforschler</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>msaboff</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1449105</commentid>
    <comment_count>0</comment_count>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2018-08-09 14:08:20 -0700</bug_when>
    <thetext>Right now if you run the test262-runner and tell it to save results while only running a subset of the tests it will clear all the other results. It should probably regex replace the results for what actually changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1449388</commentid>
    <comment_count>1</comment_count>
      <attachid>346931</attachid>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2018-08-10 14:58:32 -0700</bug_when>
    <thetext>Created attachment 346931
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1452137</commentid>
    <comment_count>2</comment_count>
      <attachid>346931</attachid>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2018-08-21 10:00:45 -0700</bug_when>
    <thetext>Comment on attachment 346931
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1453843</commentid>
    <comment_count>3</comment_count>
      <attachid>346931</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-08-27 04:49:16 -0700</bug_when>
    <thetext>Comment on attachment 346931
Patch

Clearing flags on attachment: 346931

Committed r235359: &lt;https://trac.webkit.org/changeset/235359&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1453844</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-08-27 04:49:17 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1453846</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-08-27 04:50:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/43750234&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1456315</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-09-04 08:49:57 -0700</bug_when>
    <thetext>This introduced 10 webkitperl test failures for WPE/GTK:

Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl .................................. Experimental keys on scalar is now forbidden at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262/Runner.pm line 929.
Compilation failed in require at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.
BEGIN failed--compilation aborted at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.

Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl .................................. 1/13 
#   Failed test &apos;test262 test failed, ignore expectations (exit code: 1)&apos;
#   at Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl line 136.
#          got: &apos;255&apos;
#     expected: &apos;1&apos;

#   Failed test &apos;test262 test failed, ignore expectations (new failures: 2)&apos;
#   at Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl line 142.
#          got: &apos;0&apos;
#     expected: &apos;2&apos;
Experimental keys on scalar is now forbidden at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262/Runner.pm line 929.
Compilation failed in require at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.
BEGIN failed--compilation aborted at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.

#   Failed test &apos;test262 test passed, ignore expectations (exit code: 0)&apos;
#   at Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl line 136.
#          got: &apos;255&apos;
#     expected: &apos;0&apos;
Experimental keys on scalar is now forbidden at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262/Runner.pm line 929.
Compilation failed in require at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.
BEGIN failed--compilation aborted at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.

#   Failed test &apos;test262 tests newly failed (exit code: 1)&apos;
#   at Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl line 136.
#          got: &apos;255&apos;
#     expected: &apos;1&apos;

#   Failed test &apos;test262 tests newly failed (new failures: 2)&apos;
#   at Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl line 142.
#          got: &apos;0&apos;
#     expected: &apos;2&apos;
Experimental keys on scalar is now forbidden at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262/Runner.pm line 929.
Compilation failed in require at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.
BEGIN failed--compilation aborted at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.

#   Failed test &apos;test262 tests newly passed (exit code: 0)&apos;
#   at Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl line 136.
#          got: &apos;255&apos;
#     expected: &apos;0&apos;
Experimental keys on scalar is now forbidden at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262/Runner.pm line 929.
Compilation failed in require at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.
BEGIN failed--compilation aborted at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.

#   Failed test &apos;test262 tests fails, expected failure (exit code: 0)&apos;
#   at Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl line 136.
#          got: &apos;255&apos;
#     expected: &apos;0&apos;
Experimental keys on scalar is now forbidden at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262/Runner.pm line 929.
Compilation failed in require at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.
BEGIN failed--compilation aborted at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.

#   Failed test &apos;test262 tests fails, with unexpected error string (exit code: 1)&apos;
#   at Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl line 136.
#          got: &apos;255&apos;
#     expected: &apos;1&apos;

#   Failed test &apos;test262 tests fails, with unexpected error string (new failures: 2)&apos;
#   at Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl line 142.
#          got: &apos;0&apos;
#     expected: &apos;2&apos;
Experimental keys on scalar is now forbidden at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262/Runner.pm line 929.
Compilation failed in require at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.
BEGIN failed--compilation aborted at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/Tools/Scripts/test262-runner line 45.

#   Failed test &apos;expectations yaml file format&apos;
#   at Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl line 157.
# Looks like you failed 10 tests of 13.

                                                                                                            
Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl .................................. Dubious, test returned 10 (wstat 2560, 0xa00)
Failed 10/13 subtests</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1456354</commentid>
    <comment_count>7</comment_count>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2018-09-04 10:17:21 -0700</bug_when>
    <thetext>It seems that perl has deprecated calling keys on a reference. Maybe this will fix that?: https://bugs.webkit.org/show_bug.cgi?id=189261. idk how to perl...</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>346931</attachid>
            <date>2018-08-10 14:58:32 -0700</date>
            <delta_ts>2018-08-27 04:49:16 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-188450-20180810145831.patch</filename>
            <type>text/plain</type>
            <size>2784</size>
            <attacher name="Keith Miller">keith_miller</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjM0NzcwCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggY2YyYTRhNTdlMjVjY2FjNDYzODZkODg3Zjk2OTZlMThj
ZTkzMDc2NS4uODU1ZjM1Y2U1YWU0MjJhNDY0ZDE1ZWI5N2VmNGQzMWVhZWE5YWEzYSAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1
IEBACisyMDE4LTA4LTEwICBLZWl0aCBNaWxsZXIgIDxrZWl0aF9taWxsZXJAYXBwb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ZXN0LT57cGF0aH19ICkgewotICAgICAgICAgICAgICAgICRmYWlsZWR7JHRlc3QtPntwYXRofX0t
PnskdGVzdC0+e21vZGV9fSA9ICAkdGVzdC0+e2Vycm9yfTsKLSAgICAgICAgICAgIH0KLSAgICAg
ICAgICAgIGVsc2UgewotICAgICAgICAgICAgICAgICRmYWlsZWR7JHRlc3QtPntwYXRofX0gPSB7
Ci0gICAgICAgICAgICAgICAgICAgICR0ZXN0LT57bW9kZX0gPT4gJHRlc3QtPntlcnJvcn0KLSAg
ICAgICAgICAgICAgICB9OwotICAgICAgICAgICAgfQorICAgICAgICAgICAgU2V0RmFpbHVyZUZv
clRlc3QoXCVmYWlsZWQsICR0ZXN0KTsKIAogICAgICAgICAgICAgIyBJZiBhbiB1bmV4cGVjdGVk
IGZhaWx1cmUKICAgICAgICAgICAgIGlmICghJGV4cGVjdGVkRmFpbHVyZSB8fCAoJGV4cGVjdGVk
RmFpbHVyZSBuZSAkdGVzdC0+e2Vycm9yfSkpIHsKQEAgLTUyMCw2ICs1MTMsOSBAQCBzdWIgbWFp
biB7CiAgICAgfQogCiAgICAgaWYgKCRzYXZlRXhwZWN0YXRpb25zKSB7CisgICAgICAgIGlmICgh
JHJ1bm5pbmdBbGxUZXN0cykgeworICAgICAgICAgICAgVXBkYXRlUmVzdWx0cygkZXhwZWN0LCBc
QHJlc3VsdHMsIFwlZmFpbGVkKTsKKyAgICAgICAgfQogICAgICAgICBEdW1wRmlsZSgkZXhwZWN0
YXRpb25zRmlsZSwgXCVmYWlsZWQpOwogICAgICAgICBwcmludCAiU2F2ZWQgZXhwZWN0YXRpb24g
ZmlsZSBpbjogJGV4cGVjdGF0aW9uc0ZpbGVcbiI7CiAgICAgfQpAQCAtOTA4LDYgKzkwNCw0MiBA
QCBzdWIgZ2V0SGFybmVzcyB7CiAgICAgcmV0dXJuICRjb250ZW50IHx8ICcnOwogfQogCitzdWIg
U2V0RmFpbHVyZUZvclRlc3QgeworICAgIG15ICgkZmFpbGVkLCAkdGVzdCkgPSBAXzsKKworICAg
IGlmICgkZmFpbGVkLT57JHRlc3QtPntwYXRofX0pIHsKKyAgICAgICAgJGZhaWxlZC0+eyR0ZXN0
LT57cGF0aH19LT57JHRlc3QtPnttb2RlfX0gPSAkdGVzdC0+e2Vycm9yfTsKKyAgICB9CisgICAg
ZWxzZSB7CisgICAgICAgICRmYWlsZWQtPnskdGVzdC0+e3BhdGh9fSA9IHsKKyAgICAgICAgICAg
ICR0ZXN0LT57bW9kZX0gPT4gJHRlc3QtPntlcnJvcn0KKyAgICAgICAgfTsKKyAgICB9Cit9CisK
K3N1YiBVcGRhdGVSZXN1bHRzIHsKKyAgICBwcmludCAiVXBkYXRpbmcgcmVzdWx0cy4uLiBcbiI7
CisKKyAgICBteSAoJGV4cGVjdCwgJHJlc3VsdHMsICRmYWlsZWQpID0gQF87CisKKyAgICBmb3Jl
YWNoIG15ICR0ZXN0IChAeyRyZXN1bHRzfSkgeworICAgICAgICBkZWxldGUgJGV4cGVjdC0+eyR0
ZXN0LT57cGF0aH19OworICAgIH0KKworICAgIGZvcmVhY2ggbXkgJHBhdGggKGtleXMoJGV4cGVj
dCkpIHsKKyAgICAgICAgZm9yZWFjaCBteSAkbW9kZSAoa2V5cygkZXhwZWN0LT57JHBhdGh9KSkg
eworICAgICAgICAgICAgbXkgJHRlc3QgPSB7CisgICAgICAgICAgICAgICAgcGF0aCA9PiAkcGF0
aCwKKyAgICAgICAgICAgICAgICBtb2RlID0+ICRtb2RlLAorICAgICAgICAgICAgICAgIGVycm9y
ID0+ICRleHBlY3QtPnskcGF0aH0tPnskbW9kZX0sCisgICAgICAgICAgICAgICAgcmVzdWx0ID0+
ICdGQUlMJworICAgICAgICAgICAgfTsKKworICAgICAgICAgICAgU2V0RmFpbHVyZUZvclRlc3Qo
JGZhaWxlZCwgJHRlc3QpOworICAgICAgICB9CisgICAgfQorfQorCiBzdWIgc3VtbWFyaXplUmVz
dWx0cyB7CiAgICAgcHJpbnQgIlN1bW1hcml6aW5nIHJlc3VsdHMuLi5cbiI7CiAK
</data>

          </attachment>
      

    </bug>

</bugzilla>