Linus Groh
d52a5bbbe8
Replace arrow function with regular function in harness/sta.js
2023-06-21 17:19:47 +02:00
Rick Waldron
6540b15597
chore: migrate $ERROR -> throw new Test262Error in .jshintrc, harness/sta.js ( #3122 )
2021-07-29 12:38:45 -07:00
rwaldron
488eb365db
chore: migrate $ERROR -> throw new Test262Error in harness/ & test/harness
2021-07-21 15:15:55 -04:00
Paul Bakker
a6a895db12
Remove usage of rest and default parameters in harness ( #3034 )
...
Also see https://github.com/tc39/test262/issues/3032
2021-07-02 09:04:13 -04:00
Rick Waldron
8250b886b0
Create "Test262Error.thrower" as replacement for "$ERROR". Define $ERROR as Test262Error.thrower
2020-09-16 17:36:54 -04:00
Richard Gibson
93ff9b7262
Replace incorrect use of $DONOTEVALUATE
2020-08-21 15:58:21 -04:00
Richard Gibson
46e26a99a6
Add requirement distinguishing $DONOTEVALUATE from Test262Error
2020-08-21 15:58:21 -04:00
Mike Pennisi
a9111d7144
lint: add rule to verify use of harness files
...
Verify that every test file which references a harness file using the
"includes" directive also contains at least one reference to a value
defined in the harness file.
To support this check, extend each harness file with a list of values
which it defines.
2019-09-25 14:00:50 -04:00
Mathias Bynens
b9daa57dcb
Rename to $DONOTEVALUATE per @leobalter's suggestion
2018-10-23 13:51:17 +02:00
Mathias Bynens
e3feffb01e
Move `throw "…"` for negative parsing errors to a helper function
...
Closes #1634 .
2018-10-23 13:51:16 +02:00
Rick Waldron
4ea2931f16
Update all harness files to pass linting. ( #1153 )
...
```
$ python tools/lint/lint.py --whitelist lint.whitelist harness/*.js
Linting 25 files.
Linting complete. 0 errors found.
```
- Renames detachArrayBuffer-$262.detachArrayBuffer.js -> detachArrayBuffer-host-detachArrayBuffer.js (previous naming prevents command-click from terminal)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-14 11:37:24 -04:00
André Bargull
1ba3a7c4a9
Remove unused functionality from harness ( #975 )
2017-04-14 12:22:27 -04:00
Mathias Bynens
a621155bcd
Unify indentation and add .editorconfig ( #973 )
2017-04-13 10:37:32 -04:00
Mike Pennisi
ade6d2e384
Remove "NotEarlyError" object
...
Because expectations regarding error "phase" are now expressed via test
meta-data, the test runner may now enforce this requirement on negative
tests.
Remove the "NotEarlyError" from the project source. This reduces the
amount of domain knowledge required to author tests and lessens the
potential for inconsistencies between tests.
2016-10-19 15:24:22 -04:00
André Bargull
a85f5039e0
Remove links to hg.ecmascript.org
2015-07-17 17:43:09 +02:00
Brian Terlson
2a74f0ec1b
Reorganize ./test
2014-12-07 15:33:09 -08:00