0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/deps/v8/test/message
Michaël Zasso 9b4bf7de6c
deps: update V8 to 7.1.302.28
PR-URL: https://github.com/nodejs/node/pull/23423
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
2018-12-06 15:23:33 +01:00
..
fail deps: update V8 to 7.1.302.28 2018-12-06 15:23:33 +01:00
mjsunit deps: update V8 to 6.8.275.24 2018-07-26 08:31:50 +02:00
regress/fail deps: update V8 to 6.8.275.24 2018-07-26 08:31:50 +02:00
asm-assignment-undeclared.js
asm-assignment-undeclared.out
asm-function-mismatch-def.js
asm-function-mismatch-def.out
asm-function-mismatch-use.js
asm-function-mismatch-use.out
asm-function-redefined.js
asm-function-redefined.out
asm-function-undefined.js
asm-function-undefined.out
asm-function-variable-collision.js
asm-function-variable-collision.out
asm-import-wrong-annotation.js
asm-import-wrong-annotation.out
asm-import-wrong-object.js
asm-import-wrong-object.out
asm-linking-bogus-heap.js
asm-linking-bogus-heap.out deps: update V8 to 7.0.276.20 2018-09-22 18:29:25 +02:00
asm-linking-bogus-stdlib.js
asm-linking-bogus-stdlib.out
asm-linking-missing-heap.js
asm-linking-missing-heap.out
asm-missing-parameter-annotation.js
asm-missing-parameter-annotation.out
asm-missing-return-annotation.js
asm-missing-return-annotation.out
asm-table-mismatch-def.js
asm-table-mismatch-def.out
asm-table-mismatch-use.js
asm-table-mismatch-use.out
asm-table-redefined.js
asm-table-redefined.out
asm-table-undefined.js
asm-table-undefined.out
asm-table-variable-collision.js
asm-table-variable-collision.out
BUILD.gn deps: update V8 to 6.7.288.43 2018-06-01 09:58:27 +02:00
message.status deps: update V8 to 7.1.302.28 2018-12-06 15:23:33 +01:00
non-use-strict-hex-escape.js
non-use-strict-hex-escape.out
non-use-strict-octal-escape.js
non-use-strict-octal-escape.out
non-use-strict-uhex-escape.js
non-use-strict-uhex-escape.out
nonstrict-arguments.js
nonstrict-arguments.out
nonstrict-eval.js
nonstrict-eval.out
nonstrict-with.js
nonstrict-with.out
object-binding-pattern-await-computed-name.js deps: update V8 to 6.5.254.31 2018-03-07 16:48:52 +01:00
object-binding-pattern-await-computed-name.out deps: update V8 to 6.5.254.31 2018-03-07 16:48:52 +01:00
README.md deps: update V8 to 7.1.302.28 2018-12-06 15:23:33 +01:00
strict-octal-indirect-regexp.js
strict-octal-indirect-regexp.out
strict-octal-regexp.js
strict-octal-regexp.out
testcfg.py deps: update V8 to 7.1.302.28 2018-12-06 15:23:33 +01:00
try-catch-finally-no-message.js
try-catch-finally-no-message.out
try-catch-finally-return-in-finally.js
try-catch-finally-return-in-finally.out
try-finally-return-in-finally.js
try-finally-return-in-finally.out
wasm-finish-compilation.js deps: update V8 to 6.7.288.43 2018-06-01 09:58:27 +02:00
wasm-finish-compilation.out deps: update V8 to 6.7.288.43 2018-06-01 09:58:27 +02:00
wasm-function-name-async.js deps: update V8 to 6.7.288.43 2018-06-01 09:58:27 +02:00
wasm-function-name-async.out deps: update V8 to 6.8.275.24 2018-07-26 08:31:50 +02:00
wasm-function-name-streaming.js deps: update V8 to 6.7.288.43 2018-06-01 09:58:27 +02:00
wasm-function-name-streaming.out deps: update V8 to 6.8.275.24 2018-07-26 08:31:50 +02:00
wasm-module-and-function-name-async.js deps: update V8 to 6.7.288.43 2018-06-01 09:58:27 +02:00
wasm-module-and-function-name-async.out deps: update V8 to 6.8.275.24 2018-07-26 08:31:50 +02:00
wasm-module-and-function-name-streaming.js deps: update V8 to 6.7.288.43 2018-06-01 09:58:27 +02:00
wasm-module-and-function-name-streaming.out deps: update V8 to 6.8.275.24 2018-07-26 08:31:50 +02:00
wasm-module-name-async.js deps: update V8 to 6.7.288.43 2018-06-01 09:58:27 +02:00
wasm-module-name-async.out deps: update V8 to 6.8.275.24 2018-07-26 08:31:50 +02:00
wasm-module-name-streaming.js deps: update V8 to 6.7.288.43 2018-06-01 09:58:27 +02:00
wasm-module-name-streaming.out deps: update V8 to 6.8.275.24 2018-07-26 08:31:50 +02:00
wasm-no-name-async.js deps: update V8 to 6.7.288.43 2018-06-01 09:58:27 +02:00
wasm-no-name-async.out deps: update V8 to 6.8.275.24 2018-07-26 08:31:50 +02:00
wasm-no-name-streaming.js deps: update V8 to 6.7.288.43 2018-06-01 09:58:27 +02:00
wasm-no-name-streaming.out deps: update V8 to 6.8.275.24 2018-07-26 08:31:50 +02:00
wasm-trace-memory-interpreted.js deps: update V8 to 7.1.302.28 2018-12-06 15:23:33 +01:00
wasm-trace-memory-interpreted.out deps: update V8 to 7.0.276.20 2018-09-22 18:29:25 +02:00
wasm-trace-memory-liftoff.js deps: update V8 to 7.1.302.28 2018-12-06 15:23:33 +01:00
wasm-trace-memory-liftoff.out deps: update V8 to 7.0.276.20 2018-09-22 18:29:25 +02:00
wasm-trace-memory.js deps: update V8 to 7.1.302.28 2018-12-06 15:23:33 +01:00
wasm-trace-memory.out deps: update V8 to 7.0.276.20 2018-09-22 18:29:25 +02:00

JavaScript tests with expected output

Tests in test/message pass if the output matches the expected output. Message tests are particularly useful when checking for exact error messages.

Tests and their expected output must have the same filename, with the .js and .out extension.

foo.js
foo.out

All tests must end with an exception. The test runner does not handle output from multiple runs, e.g., --stress-opt. Without an exception, the output will be generated several times and the comparison will fail.

You can use a regex in the expected output instead of the exact path:

*%(basename)s:7: SyntaxError: Detected cycle while resolving name 'a'

Empty lines are ignored in the comparison, but whitespaces are not.

Exact details of the test runner are in testcfg.py.