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

The file co19/src/Utils/test_mode_check.dart uses the name 'dart_precompiled_runtime' to determine mode which could be incorrect #2943

Closed
a-siva opened this issue Oct 22, 2024 · 3 comments
Assignees

Comments

@a-siva
Copy link

a-siva commented Oct 22, 2024

The CL https://dart-review.googlesource.com/c/sdk/+/389760 is making the name of the AOT executable consistent by using the
name 'dartaotruntime' (which is what the shipping Dart sdk uses). The executable 'dart_precompiled_runtime' in the build directories is being renamed to 'dartaotruntime'.

The file co19/src/Utils/test_mode_check.dart uses the name 'dart_precompiled_runtime' to determine if the test is running in AOT mode, this breaks with the above change. The check needs to be modified to use 'dartaotruntime'

@sgrekhov sgrekhov self-assigned this Oct 23, 2024
@sgrekhov
Copy link
Contributor

I'll update it after landing of https://dart-review.googlesource.com/c/sdk/+/389760

@sgrekhov
Copy link
Contributor

sgrekhov commented Nov 7, 2024

@a-siva as far as I can see https://dart-review.googlesource.com/c/sdk/+/389760 was reverted. Please let me know if there is another CL replacing https://dart-review.googlesource.com/c/sdk/+/389760. Otherwise I'll go on checking of https://dart-review.googlesource.com/c/sdk/+/389760 and update the tests after the landing.

@a-siva
Copy link
Author

a-siva commented Nov 8, 2024

I had to revert the CL a couple of times because of issues with the benchmark suite. I landed it yesterday

sgrekhov added a commit to sgrekhov/co19 that referenced this issue Nov 11, 2024
copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Nov 15, 2024
2024-11-14 [email protected] dart-lang/co19#2956. Add more tests for the type `void` (dart-lang/co19#2977)
2024-11-12 [email protected] dart-lang/co19#2956. Rename, move and update existing return from `void` tests (dart-lang/co19#2975)
2024-11-12 [email protected] dart-lang/co19#2956. Add more type void tests. Update existing ones (dart-lang/co19#2974)
2024-11-11 [email protected] Fixes dart-lang/co19#2943. Use name `dartaotruntime` instead of `dart_precompiled_runtime` (dart-lang/co19#2973)
2024-11-11 [email protected] dart-lang/co19#2953. Add inference with bounds tests (dart-lang/co19#2957)

Cq-Include-Trybots: luci.dart.try:analyzer-linux-release-try
Change-Id: I1f3c534a1e69af28c9adb93bdc13b8741a64e7f8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/395500
Reviewed-by: Erik Ernst <[email protected]>
Reviewed-by: Chloe Stefantsova <[email protected]>
Commit-Queue: Erik Ernst <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants