There's no 'platform' in package_targets.py, only labels.

pull/7717/head
Nicolas "Pixel" Noble 8 years ago
parent f2c074a73e
commit 6ee23ee614
  1. 2
      tools/run_tests/package_targets.py

@ -81,7 +81,7 @@ class CSharpPackage:
self.labels += ['windows'] self.labels += ['windows']
def pre_build_jobspecs(self): def pre_build_jobspecs(self):
if self.platform == 'windows': if 'windows' in self.labels:
return [create_jobspec('prebuild_%s' % self.name, return [create_jobspec('prebuild_%s' % self.name,
['tools\\run_tests\\pre_build_csharp.bat'], ['tools\\run_tests\\pre_build_csharp.bat'],
shell=True, shell=True,

Loading…
Cancel
Save