[macros] Replace hardcoded skip with status file skip.

R=whesse@google.com

Change-Id: I50a41ebadd71b65761613e2ac2259152d1433ddd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/355923
Auto-Submit: Morgan :) <davidmorgan@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Morgan :) <davidmorgan@google.com>
This commit is contained in:
David Morgan 2024-03-07 10:33:08 +00:00 committed by Commit Queue
parent 9293d2fc33
commit ebcae76d0d
2 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,9 @@
# Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
[ $arch != x64 || $mode != debug || $system != linux ]
*: Skip # linux-debug-x64 is enough coverage for now.
[ $compiler != dartk || $runtime != vm ]
*: SkipByDesign # Actual tests are launched in subprocesses.

5
tests/macro_build/tester/tester.dart Executable file → Normal file
View file

@ -43,11 +43,6 @@ runner to ensure they are built and not stale:
./tools/test.py -v -nunittest-asserts-release-linux-x64 \
--build 'tests/macro_build/*'
''');
} else if (configuration != 'unittest-asserts-release-linux-x64') {
print('Skipping test, not yet supported on '
'-Dtest_runner.configuration=$configuration, '
'use unittest-asserts-release-linux-x64.');
return;
}
_fixPubspec(