summaryrefslogtreecommitdiff
path: root/test-cli
diff options
context:
space:
mode:
Diffstat (limited to 'test-cli')
-rw-r--r--test-cli/test_main.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test-cli/test_main.py b/test-cli/test_main.py
index 7bf0c34..1f5d1e4 100644
--- a/test-cli/test_main.py
+++ b/test-cli/test_main.py
@@ -416,10 +416,11 @@ if __name__ == "__main__":
logObj.getlogger().info("AutoTest: {} OverrideAutoReboot: {} delay Reboot: {}".format(AutoTest, OverrideAutoReboot, delay_reboot))
-
# Check if current state is "WAIT_TEST_START". if not, waits here
- # if xmlObj.getKeyVal("test_main", "overrideCheckWaitStart", "0") == "1":
- check_first_state()
+ if xmlObj.getKeyVal("test_main", "overrideCheckWaitStart", "0") == "0":
+ check_first_state()
+ else:
+ psdbObj.setDevelStationState(globalVar.station, "WAIT_TEST_START")
# Change state to "TESTS_CHECKING_ENV"
set_next_state(StationStates.TESTS_CHECKING_ENV.name)