Skip to content

Commit a856897

Browse files
davidmorganCommit Queue
authored andcommitted
[macros] Fix flake: use the SDK that was actually built.
Currently these two tests only passes by chance, if a `release` build happens to be available. [email protected] Change-Id: I6048c6ed8ea2f299c88eaf9a6c6b2add8a03dfa0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/356083 Auto-Submit: Morgan :) <[email protected]> Reviewed-by: William Hesse <[email protected]> Commit-Queue: Morgan :) <[email protected]>
1 parent ebcae76 commit a856897

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/macro_build/analyzer_lt_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ void main() {
88
testMacroBuild([
99
r'$DART pub get',
1010
r'$DART '
11-
r'$DART_SDK/out/ReleaseX64/gen/dartanalyzer.dart.snapshot '
11+
// TODO(davidmorgan): find this programmatically.
12+
r'$DART_SDK/out/DebugX64/gen/dartanalyzer.dart.snapshot '
1213
'-Dtest_runner.configuration=analyzer-asserts-linux '
1314
'--enable-experiment=macros '
1415
'--ignore-unrecognized-flags '

tests/macro_build/cfe_lt_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ void main() {
1212
'--verify '
1313
'--skip-platform-verification -o out.dill '
1414
'--platform '
15-
r'$DART_SDK/out/ReleaseX64/vm_platform_strong.dill '
15+
// TODO(davidmorgan): find this programmatically.
16+
r'$DART_SDK/out/DebugX64/vm_platform_strong.dill '
1617
'-Dtest_runner.configuration=cfe-strong-linux '
1718
'--enable-experiment=macros '
1819
'--nnbd-strong '

0 commit comments

Comments
 (0)