-
Notifications
You must be signed in to change notification settings - Fork 1.7k
IL tests checking DART_CONFIGURATION at runtime (e.g., using isSimulator) fail on android #53774
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
Comments
So,
And then sdk/pkg/test_runner/lib/src/options.dart Line 700 in e4bb5b6
I think we should avoid special casing this test. Rather, we should ensure that both env vars are defined always in how all tests are run. Unless there's some reason why they aren't. I believe some tests use artefacts from multiple build folders. E.g. with using a gensnapshot from the non-sim build folder and then running with the runtime from the sim build folder. So that probably means the tests should solely rely on |
Only checking |
Turns out this won't work, because when the |
Shouldn't we fix that in pkg/test_runner so that |
Would like to fix the test ASAP, I'll not close the bug and look into this after landing the immediate fix. |
Add RISCV32 to the list of architectures checked for is32BitConfiguration. TEST=vm/dart/pointer_as_typed_list_il_test on android trybots Issue: #53774 Change-Id: I0c8297dc863b6121f9b1eafb99ae273ea2d0b34e Cq-Include-Trybots: luci.dart.try:vm-aot-android-release-arm_x64-try,vm-aot-android-release-arm64c-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/330740 Reviewed-by: Daco Harkes <[email protected]> Commit-Queue: Tess Strickland <[email protected]>
There are new test failures on Reland "[vm/compiler] Change MemoryCopy to also take untagged addresses.".
The tests
are failing on configurations
Example log:
So the checking part of the IL tests pass, but it fails when trying to run the actual program. As shown above, the
DART_CONFIGURATION
runtime variable isn't passed to tests running on Android. However, these tests are also compiled to kernel with-Dtest_runner.configuration
, so perhaps we should use that as either the primary source of truth, falling back toDART_CONFIGURATION
when not provided, or vice versa./cc @alexmarkov @mraleph
The text was updated successfully, but these errors were encountered: