Skip to content

Commit 853f255

Browse files
committed
feat: update test262.conf and addci yml
1 parent 94490d2 commit 853f255

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

.github/workflow/linux.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: linux-x64
2+
on:
3+
push:
4+
branches: [master]
5+
pull_request:
6+
branches: [master]
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- run: sudo apt install -y libcppunit-dev cmake
12+
- run: mkdir build
13+
- run: cd build && cmake ..
14+
- run: make -j4
15+
- run: cd ..
16+
- run: git clone https://github.com/tc39/test262.git test262
17+
- run: cd test262
18+
- run: patch -p1 < ../tests/test262.patch
19+
- run: cd ..
20+
- run: touch test262_errors.txt
21+
- run: ./bin/run-test262 -m -c test262.conf -a

test262.conf

+12-2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ testdir=test262/test
5151
AggregateError
5252
align-detached-buffer-semantics-with-web-reality
5353
arbitrary-module-namespace-names=skip
54+
array-find-from-last=skip
5455
Array.prototype.at=skip
5556
Array.prototype.flat
5657
Array.prototype.flatMap
@@ -60,14 +61,16 @@ ArrayBuffer
6061
arrow-function
6162
async-functions
6263
async-iteration
63-
Atomics
64+
Atomics=skip
6465
Atomics.waitAsync=skip
6566
BigInt
6667
caller
6768
class
6869
class-fields-private
70+
class-fields-private-in=skip
6971
class-fields-public
7072
class-methods-private
73+
class-static-block=skip
7174
class-static-fields-public
7275
class-static-fields-private
7376
class-static-methods-private
@@ -89,6 +92,7 @@ default-parameters
8992
destructuring-assignment
9093
destructuring-binding
9194
dynamic-import
95+
error-cause=skip
9296
export-star-as-namespace-from-module
9397
FinalizationGroup=skip
9498
FinalizationRegistry=skip
@@ -102,10 +106,12 @@ globalThis
102106
hashbang
103107
host-gc-required=skip
104108
import.meta
109+
import-assertions=skip
105110
Int16Array
106111
Int32Array
107112
Int8Array
108113
IsHTMLDDA
114+
json-modules=skip
109115
json-superset
110116
legacy-regexp=skip
111117
let
@@ -116,6 +122,7 @@ numeric-separator-literal
116122
object-rest
117123
object-spread
118124
Object.fromEntries
125+
Object.hasOwn
119126
Object.is
120127
optional-catch-binding
121128
optional-chaining
@@ -134,8 +141,10 @@ regexp-lookbehind
134141
regexp-match-indices=skip
135142
regexp-named-groups
136143
regexp-unicode-property-escapes
144+
resizable-arraybuffer=skip
137145
rest-parameters
138146
Set
147+
ShadowRealm=skip
139148
SharedArrayBuffer
140149
string-trimming
141150
String.fromCodePoint
@@ -164,6 +173,7 @@ Symbol.toStringTag
164173
Symbol.unscopables
165174
tail-call-optimization=skip
166175
template
176+
Temporal=skip
167177
top-level-await=skip
168178
TypedArray
169179
TypedArray.prototype.at=skip
@@ -196,4 +206,4 @@ test262/test/built-ins/ThrowTypeError/unique-per-realm-function-proto.js
196206
#test262/test/built-ins/RegExp/property-escapes/
197207

198208
[tests]
199-
# list test files or use config.testdir
209+
# list test files or use config.testdir

0 commit comments

Comments
 (0)