Skip to content

parse() tests fail on dart2wasm #56849

@sgrekhov

Description

@sgrekhov

The following co19 tests fail on dart2wasm
co19/LanguageFeatures/Digit-separators/parse_A01_t01
co19/LanguageFeatures/Digit-separators/parse_A01_t02
co19/LanguageFeatures/Digit-separators/parse_A01_t03
co19/LanguageFeatures/Digit-separators/parse_A03_t01
co19/LanguageFeatures/Digit-separators/parse_A03_t02
co19/LanguageFeatures/Digit-separators/parse_A03_t03

Example:

/======================================================================================================\
| co19/LanguageFeatures/Digit-separators/parse_A01_t01 is new and failed (RuntimeError, expected Pass) |
\======================================================================================================/

--- Command "dart2wasm" (took 733ms):
DART_CONFIGURATION=ReleaseX64 CHROME_PATH=/b/s/w/ir/third_party/browsers/chrome/chrome/google-chrome pkg/dart2wasm/tool/compile_benchmark -O0 --js-compatibility --compiler-asserts -Dtest_runner.configuration=dart2wasm-linux-jscm-chrome /b/s/w/ir/tests/co19/src/LanguageFeatures/Digit-separators/parse_A01_t01.dart /b/s/w/ir/out/ReleaseX64/generated_tests/dart2wasm-linux-jscm-chrome/tests_co19_src_LanguageFeatures_Digit-separators_parse_A01_t01/parse_A01_t01.wasm

exit code:
0

--- Command "chrome" (took 55ms):
/b/s/w/ir/tools/sdks/dart-sdk/bin/dart pkg/test_runner/bin/launch_browser.dart chrome http://127.0.0.1:41279/root_build/generated_tests/dart2wasm-linux-jscm-chrome/tests_co19_src_LanguageFeatures_Digit-separators_parse_A01_t01/test.html?crossOriginPort=33547

Runtime error:
[object WebAssembly.Exception]
<undefined stack>

exit code:
0

--- To debug locally, run:
/b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/pkg/test_runner/bin/http_server.dart -p 41279 -c 33547 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/.dart_tool/package_config.json

--- Re-run this test:
python3 tools/test.py -n dart2wasm-linux-jscm-chrome co19/LanguageFeatures/Digit-separators/parse_A01_t01

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart2wasmIssues for the dart2wasm compiler.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions