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:
parent
5e9aef2dea
commit
821c42f5b2
@ -220,9 +220,11 @@ class RIOTApplication():
|
|||||||
try:
|
try:
|
||||||
self.make(self.TEST_AVAILABLE_TARGETS)
|
self.make(self.TEST_AVAILABLE_TARGETS)
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
return False
|
has_test = False
|
||||||
else:
|
else:
|
||||||
return True
|
has_test = True
|
||||||
|
self.logger.info('Application has test: %s', has_test)
|
||||||
|
return has_test
|
||||||
|
|
||||||
def board_is_supported(self):
|
def board_is_supported(self):
|
||||||
"""Return if current board is supported."""
|
"""Return if current board is supported."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user