963c28a114
This allows tests that would fail in JS compatibility mode (e.g. tests that do a lot of string manipulation) to disable the mode for their own execution. Also ensure dart2wasm-*-jscm-* builds do a "create_sdk" so that the dart2js platform dill is available for the test. The alternative I considered was skipping the test but "--js-compatibility" is a dart2wasm-specific flag and the test infra is unaware of it so we can't skip the test via a status file. Bug: https://github.com/dart-lang/sdk/issues/56858 Change-Id: I60179eaab2e4522acf1fe0b47c7c02ccb1ca957b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/388644 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Nate Biggs <natebiggs@google.com>