bugfix: drop make support for tests have no esp32 support

This commit is contained in:
Fu Hanxi
2020-12-08 11:54:17 +08:00
parent 49fd495689
commit 636f136296
3 changed files with 44 additions and 45 deletions

View File

@@ -61,6 +61,10 @@ class MakeBuildSystem(BuildSystem):
return False
return True
@staticmethod
def supported_targets(app_path):
return ['esp32']
@classmethod
def supported_targets(cls, app_path):
readme_supported_targets = cls._supported_targets(app_path)
if readme_supported_targets and 'esp32' in readme_supported_targets:
return ['esp32']
else:
return []