We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da635f0 commit ca7205bCopy full SHA for ca7205b
packages/pigeon/tool/run_tests.dart
@@ -164,7 +164,14 @@ Future<void> main(List<String> args) async {
164
// configurations have different setups (e.g., different clang-format versions
165
// or no clang-format at all).
166
if (Platform.isLinux) {
167
- await _validateGeneratedTestFiles();
+ // Only run on master, since Dart format can change between versions.
168
+ // TODO(stuartmorgan): Make a more generic way to run this check only on
169
+ // master; this currently won't work for anything but Cirrus.
170
+ if (Platform.environment['CHANNEL'] == 'stable') {
171
+ print('Skipping generated file validation on stable.');
172
+ } else {
173
+ await _validateGeneratedTestFiles();
174
+ }
175
}
176
177
final List<String> testsToRun;
0 commit comments