Improve return code for create_l3, sta_connect_example.

Add TODO for create_l3.py for future work.

Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
Ben Greear
2022-01-31 14:47:19 -08:00
committed by shivam
parent 7db4c9a329
commit f64e7aa11e
2 changed files with 25 additions and 19 deletions

View File

@@ -57,14 +57,11 @@ def main():
staConnect.stop()
# staConnect.finish()
staConnect.cleanup()
is_passing = staConnect.passes()
if not is_passing:
# run_results = staConnect.get_failed_result_list()
fail_message = staConnect.get_fail_message()
print("Some tests failed:\n" + fail_message)
else:
print("Tests pass")
if staConnect.passes():
staConnect.exit_success()
else:
staConnect.exit_fail()
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -