summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2025-04-21 16:23:42 +0200
committerFabrice Bellard <fabrice@bellard.org>2025-04-21 16:23:42 +0200
commite5e724829a21bc507414a7b30dcd987158f1cc5e (patch)
treedd39818ea562064b451903d67ab272ae12208f98 /tests
parentfbf7d8a205e9ecbefed5d72947c53272405d2cee (diff)
downloadquickjs-e5e724829a21bc507414a7b30dcd987158f1cc5e.tar.gz
quickjs-e5e724829a21bc507414a7b30dcd987158f1cc5e.zip
added staging test262 tests
Diffstat (limited to 'tests')
-rw-r--r--tests/test262.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/test262.patch b/tests/test262.patch
index 93acea5..3047751 100644
--- a/tests/test262.patch
+++ b/tests/test262.patch
@@ -70,3 +70,23 @@ index b397be0..c197ddc 100644
}
return result;
}
+diff --git a/harness/sm/non262.js b/harness/sm/non262.js
+index c1829e3..3a3ee27 100644
+--- a/harness/sm/non262.js
++++ b/harness/sm/non262.js
+@@ -41,8 +41,6 @@ globalThis.createNewGlobal = function() {
+ return $262.createRealm().global
+ }
+
+-function print(...args) {
+-}
+ function assertEq(...args) {
+ assert.sameValue(...args)
+ }
+@@ -71,4 +69,4 @@ if (globalThis.createExternalArrayBuffer === undefined) {
+ if (globalThis.enableGeckoProfilingWithSlowAssertions === undefined) {
+ globalThis.enableGeckoProfilingWithSlowAssertions = globalThis.enableGeckoProfiling =
+ globalThis.disableGeckoProfiling = () => {}
+-}
+\ No newline at end of file
++}