Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse() tests fail on dart2wasm #56849

Open
sgrekhov opened this issue Oct 4, 2024 · 0 comments
Open

parse() tests fail on dart2wasm #56849

sgrekhov opened this issue Oct 4, 2024 · 0 comments
Labels
area-dart2wasm Issues for the dart2wasm compiler.

Comments

@sgrekhov
Copy link
Contributor

sgrekhov commented Oct 4, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dart2wasm Issues for the dart2wasm compiler.
Projects
None yet
Development

No branches or pull requests

1 participant