Skip to content

Commit

Permalink
Fix two reftest.js mistakes in changeset d4fa46306138. (Bug 471579) r…
Browse files Browse the repository at this point in the history
…=ted
  • Loading branch information
dbaron committed Oct 22, 2009
1 parent 666c54e commit 8626306
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
4 changes: 2 additions & 2 deletions js/src/tests/ecma/Date/jstests.list
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ script 15.9.5.11-5.js
script 15.9.5.11-6.js
script 15.9.5.11-7.js
script 15.9.5.12-1.js
skip-if(!xulRuntime.shell&&xulRuntime.OS=="Linux"&&XPCOMABI.match(/x86_64/)) script 15.9.5.12-2.js # bug xxx crash
skip-if(!xulRuntime.shell&&xulRuntime.OS=="Linux"&&xulRuntime.XPCOMABI.match(/x86_64/)) script 15.9.5.12-2.js # bug xxx crash
script 15.9.5.12-3.js
script 15.9.5.12-4.js
script 15.9.5.12-5.js
Expand All @@ -66,7 +66,7 @@ script 15.9.5.13-7.js
script 15.9.5.13-8.js
script 15.9.5.14.js
script 15.9.5.15.js
skip-if(!xulRuntime.shell&&xulRuntime.OS=="Linux"&&XPCOMABI.match(/x86_64/)) script 15.9.5.16.js # bug xxx crash
skip-if(!xulRuntime.shell&&xulRuntime.OS=="Linux"&&xulRuntime.XPCOMABI.match(/x86_64/)) script 15.9.5.16.js # bug xxx crash
script 15.9.5.17.js
script 15.9.5.18.js
script 15.9.5.19.js
Expand Down
4 changes: 2 additions & 2 deletions js/src/tests/js1_5/Array/jstests.list
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ script regress-101964.js
script regress-107138.js
fails script regress-108440.js
script regress-154338.js
skip-if(xulRuntime.OS=="Linux"&&XPCOMABI.match(/x86_64/)) script regress-157652.js # No test results
skip-if(xulRuntime.OS=="Linux"&&xulRuntime.XPCOMABI.match(/x86_64/)) script regress-157652.js # No test results
script regress-178722.js
script regress-255555.js
script regress-299644.js
Expand All @@ -14,7 +14,7 @@ script regress-310351.js
script regress-311515.js
script regress-313153.js
script regress-315509-01.js
skip-if(xulRuntime.OS=="Linux"&&XPCOMABI.match(/x86_64/)) script regress-330812.js # No test results
skip-if(xulRuntime.OS=="Linux"&&xulRuntime.XPCOMABI.match(/x86_64/)) script regress-330812.js # No test results
script regress-345961.js
script regress-348810.js
script regress-350256-01.js
Expand Down
6 changes: 3 additions & 3 deletions js/src/tests/js1_5/Regress/jstests.list
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ script regress-295052.js
script regress-295666.js
script regress-299209.js
script regress-299641.js
skip-if(XPCOMABI.match(/x86_64/)||(xulRuntime.OS=="WINNT"&&isDebugBuild)) script regress-303213.js # slow
skip-if(xulRuntime.XPCOMABI.match(/x86_64/)||(xulRuntime.OS=="WINNT"&&isDebugBuild)) script regress-303213.js # slow
script regress-306633.js
script regress-306727.js
script regress-306794.js
Expand Down Expand Up @@ -209,7 +209,7 @@ skip-if(isDebugBuild) script regress-360969-06.js # slow
script regress-361467.js
script regress-361617.js
skip script regress-362583.js # obsolete test
fails-if(xulRuntime.OS=="WINNT") random-if(xulRuntime.OS=="Linux"&&!XPCOMABI.match(/x86_64/)) skip-if(xulRuntime.OS=="Linux"&&XPCOMABI.match(/x86_64/)) script regress-3649-n.js # No test results on windows, sometimes no test results on 32 bit linux, hangs os/consumes ram/swap on 64bit linux.
fails-if(xulRuntime.OS=="WINNT") random-if(xulRuntime.OS=="Linux"&&!xulRuntime.XPCOMABI.match(/x86_64/)) skip-if(xulRuntime.OS=="Linux"&&xulRuntime.XPCOMABI.match(/x86_64/)) script regress-3649-n.js # No test results on windows, sometimes no test results on 32 bit linux, hangs os/consumes ram/swap on 64bit linux.
script regress-366122.js
script regress-366468.js
script regress-366601.js
Expand Down Expand Up @@ -243,7 +243,7 @@ skip-if(xulRuntime.OS=="WINNT"&&isDebugBuild) script regress-418540.js # slow
script regress-419018.js
script regress-419803.js
script regress-420919.js
fails-if(xulRuntime.OS=="Linux"&&XPCOMABI.match(/x86_64/)) script regress-422348.js # No test results
fails-if(xulRuntime.OS=="Linux"&&xulRuntime.XPCOMABI.match(/x86_64/)) script regress-422348.js # No test results
script regress-424311.js
skip-if(xulRuntime.OS=="WINNT"&&isDebugBuild) script regress-425360.js # slow
script regress-426827.js
Expand Down
2 changes: 1 addition & 1 deletion js/src/tests/js1_5/String/jstests.list
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ random script regress-157334-01.js # BigO
script regress-179068.js
random script regress-314890.js # BigO
random script regress-322772.js # BigO
random skip-if(xulRuntime.OS=="Linux"&&!isDebugBuild&&!XPCOMABI.match(/x86_64/)) script regress-56940-01.js # BigO, slow if Linux 32bit opt
random skip-if(xulRuntime.OS=="Linux"&&!isDebugBuild&&!xulRuntime.XPCOMABI.match(/x86_64/)) script regress-56940-01.js # BigO, slow if Linux 32bit opt
random script regress-56940-02.js # BigO
11 changes: 7 additions & 4 deletions layout/tools/reftest/reftest.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,15 @@ function ReadManifest(aURL)
var xr = CC[NS_XREAPPINFO_CONTRACTID].getService(CI.nsIXULRuntime);
sandbox.MOZ_WIDGET_TOOLKIT = xr.widgetToolkit;
sandbox.isDebugBuild = gDebug.isDebugBuild;
sandbox.xulRuntime = {widgetToolkit: xr.widgettoolkit, OS: xr.OS};
sandbox.xulRuntime = {widgetToolkit: xr.widgetToolkit, OS: xr.OS};

// xr.XPCOMABI throws exception for configurations without full ABI support (mobile builds on ARM)
// xr.XPCOMABI throws exception for configurations without full ABI
// support (mobile builds on ARM)
try {
sandbox.XPCOMABI = xr.XPCOMABI;
} catch(e) {}
sandbox.xulRuntime.XPCOMABI = xr.XPCOMABI;
} catch(e) {
sandbox.xulRuntime.XPCOMABI = "";
}

var hh = CC[NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX + "http"].
getService(CI.nsIHttpProtocolHandler);
Expand Down

0 comments on commit 8626306

Please sign in to comment.