Add hint about verbose output

This commit is contained in:
Ivan Kravets
2022-05-09 18:40:46 +03:00
parent d065646d3e
commit 4249349c2b

View File

@ -124,7 +124,10 @@ class TestRunnerBase:
try:
return self.run_project_targets(targets)
except ReturnErrorCode:
raise UnitTestSuiteError("Building stage has failed, see errors above.")
raise UnitTestSuiteError(
"Building stage has failed, see errors above. "
"Use `pio test --verbose` option to enable verbose output."
)
def stage_uploading(self):
if self.options.without_uploading or not self.platform.is_embedded():
@ -140,7 +143,10 @@ class TestRunnerBase:
try:
return self.run_project_targets(targets)
except ReturnErrorCode:
raise UnitTestSuiteError("Uploading stage has failed, see errors above.")
raise UnitTestSuiteError(
"Uploading stage has failed, see errors above. "
"Use `pio test --verbose` option to enable verbose output."
)
def stage_testing(self):
if self.options.without_testing: