[tools] Recognize Pigeon tests in version-check (#6813)

Pigeon has an usual test structure since it generates test code to run
in a dummy plugin; add that structure to the list of recognized tests so
that changes to its platform tests won't be flagged by `version-check`.
This commit is contained in:
stuartmorgan
2022-12-10 20:09:32 -05:00
committed by GitHub
parent d404da6e85
commit 3306027234
4 changed files with 9 additions and 3 deletions

View File

@ -80,6 +80,9 @@ void main() {
'packages/a_plugin/example/macos/Runner.xcodeproj/project.pbxproj',
'packages/a_plugin/example/windows/CMakeLists.txt',
'packages/a_plugin/example/pubspec.yaml',
// Pigeon platform tests, which have an unusual structure.
'packages/a_plugin/platform_tests/shared_test_plugin_code/lib/integration_tests.dart',
'packages/a_plugin/platform_tests/test_plugin/windows/test_plugin.cpp',
];
final PackageChangeState state = await checkPackageChangeState(package,