compile_and_test_for_board: add logger info for 'has_test'

Add a logger info printing if the application has a test.
This commit is contained in:
Gaëtan Harter 2019-08-02 13:24:52 +02:00
parent 5e9aef2dea
commit 821c42f5b2
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -220,9 +220,11 @@ class RIOTApplication():
try:
self.make(self.TEST_AVAILABLE_TARGETS)
except subprocess.CalledProcessError:
return False
has_test = False
else:
return True
has_test = True
self.logger.info('Application has test: %s', has_test)
return has_test
def board_is_supported(self):
"""Return if current board is supported."""