cicd: Make sta_connect print results to stdout when called as independent script.

This commit is contained in:
Ben Greear
2020-06-10 19:25:04 -07:00
parent a49aceee9d
commit cb1827ecac
2 changed files with 12 additions and 0 deletions

View File

@@ -499,9 +499,18 @@ Example:
staConnect.dut_ssid = args.dut_ssid
staConnect.run()
run_results = staConnect.get_result_list()
is_passing = staConnect.passes()
if is_passing == False:
print("FAIL: Some tests failed")
else:
print("PASS: All tests pass")
print(staConnect.get_all_message())
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -