dart-sdk/tests
Vyacheslav Egorov 48f29b15c7 [vm/aot] Make regexp/stack-overflow test pass
This test needs a larger backtracking stack then we provide
by default in AOT mode. Allow controlling stack size via
a command line flag regexp_backtrack_stack_size_kb.

Additionally cleanup types in the interpreter a bit: generated
code uses Int32List for both register and backtracking stack.
But the interpreter was using intptr_t for backtracking stack
and int32_t for registers. Align these types to use int32_t
everywhere and add a bit of sanity checking to ensure that
we don't try to use regexp engine with strings which are
too big to fit into int32_t range.

TEST=corelib/regexp/stack-overflow

Change-Id: I5c13c4b47d5d478b683f0450d3c0ce65f6961cff
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/338141
Commit-Queue: Slava Egorov <vegorov@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
2023-11-27 15:22:40 +00:00
..
co19 [cleanup] Remove co19_2 and other references to _2 suites 2023-11-22 11:15:57 +00:00
corelib [vm/aot] Make regexp/stack-overflow test pass 2023-11-27 15:22:40 +00:00
dartdevc [test,ddc] Update library test to use static method 2023-11-10 20:39:00 +00:00
ffi [tests] Tweak ffi/unaligned_test to reflect decision made in #45009 2023-11-24 11:17:03 +00:00
language Correct 4 static type expectations in test 2023-11-27 10:38:31 +00:00
lib [cfe] Make extension type non-nullable only if it implements Object 2023-11-15 14:02:35 +00:00
modular [tests] Add repro for cross module constant 2023-11-13 22:21:40 +00:00
standalone Revert "Call the HttpClient constructor when connecting a WebSocket to allow HttpOverrides to work." 2023-11-14 16:32:50 +00:00
web [dart2js] Fix list tracing treating first/last setters as type preserving. 2023-11-08 03:50:21 +00:00
legacy_status_dart2js.csv
OWNERS
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.