v8/test/inspector
Clemens Backes 26b0eb6746 [inspector][test] Fail on non-zero return code
While writing a new test I realized that the test did not fail if
running into a CHECK or UNREACHABLE *after* printing the last expected
line.
That is because both stderr and the exit status are ignored. This CL
fixes that.

This will uncover a lot of memory leaks, which I plan to address in
follow-up CLs.

R=machenbach@chromium.org
CC=​szuend@chromium.org

Bug: chromium:1142437, v8:11107
Cq-Include-Trybots: luci.v8.try:v8_linux64_asan_rel_ng
Cq-Include-Trybots: luci.v8.try:v8_mac64_asan_rel_ng
Cq-Include-Trybots: luci.v8.try:v8_win64_asan_rel_ng
Change-Id: I65f325abf102e063bb4f449353c47e94d84de652
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2519567
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71006}
2020-11-06 11:35:44 +00:00
..
console Reland 2 ScriptContext CLs 2020-01-22 15:40:06 +00:00
counters [DevTools] Re-implemented Profiler.getRuntimeCallStats. 2020-09-08 18:32:05 +00:00
cpu-profiler [testrunner] enable --wasm-generic-wrapper for nooptimization variant 2020-10-13 09:27:45 +00:00
debugger [wasm] Remove "function tables" from the scope chains. 2020-10-30 11:32:12 +00:00
heap-profiler heap-snapshot: Add detachedness field 2020-09-09 14:42:41 +00:00
runtime Fix crash in JSPromise::Resolve when 'then' getter is terminating 2020-10-27 09:06:52 +00:00
runtime-call-stats [DevTools] Re-implemented Profiler.getRuntimeCallStats. 2020-09-08 18:32:05 +00:00
sessions WIP: [parser] Fix arrow function name inferring 2019-01-08 08:10:03 +00:00
type-profiler [tests] Filter out non-existent methods in inspector tests 2020-01-17 12:21:29 +00:00
BUILD.gn [inspector][fuzzer] Add inspector fuzzer 2020-11-02 14:29:08 +00:00
DEPS [inspector][fuzzer] Extract functionality for reuse 2020-10-28 08:37:25 +00:00
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
frontend-channel.h [inspector][test] Avoid leaks via tasks 2020-11-06 11:30:26 +00:00
inspector-test.cc [inspector][test] Avoid leaks via tasks 2020-11-06 11:30:26 +00:00
inspector.status [inspector][test] Fail on non-zero return code 2020-11-06 11:35:44 +00:00
isolate-data.cc [inspector][fuzzer] Extract functionality for reuse 2020-10-28 08:37:25 +00:00
isolate-data.h [inspector][fuzzer] Extract functionality for reuse 2020-10-28 08:37:25 +00:00
json-parse-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
json-parse.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
print-method-not-found-expected.txt [tests] Filter out non-existent methods in inspector tests 2020-01-17 12:21:29 +00:00
print-method-not-found.js [tests] Filter out non-existent methods in inspector tests 2020-01-17 12:21:29 +00:00
protocol-test.js [wasm][inspector][test] Print opcode names 2020-10-16 16:17:14 +00:00
task-runner.cc [inspector][test] Avoid leaks via tasks 2020-11-06 11:30:26 +00:00
task-runner.h [inspector][test] Avoid leaks via tasks 2020-11-06 11:30:26 +00:00
tasks.cc [inspector][fuzzer] Extract functionality for reuse 2020-10-28 08:37:25 +00:00
tasks.h [inspector][test] Avoid leaks via tasks 2020-11-06 11:30:26 +00:00
testcfg.py [test] Load missing file to Android devices for inspector test suite 2020-07-21 14:11:11 +00:00
utils.cc [inspector][fuzzer] Extract functionality for reuse 2020-10-28 08:37:25 +00:00
utils.h [inspector][fuzzer] Extract functionality for reuse 2020-10-28 08:37:25 +00:00
wasm-inspector-test.js [wasm][inspector][test] Print opcode names 2020-10-16 16:17:14 +00:00