test: Allow per-unit-test timeouts

Work around for "(WL) write/read speed test" taking >30s in some configs
This commit is contained in:
Angus Gratton
2018-05-21 14:50:27 +10:00
committed by bot
parent 92c469b599
commit e8525396dd
6 changed files with 21 additions and 12 deletions
+3 -3
View File
@@ -8,7 +8,6 @@ import hashlib
from copy import deepcopy
import CreateSectionTable
TEST_CASE_PATTERN = {
"initial condition": "UTINIT1",
"SDK": "ESP32_IDF",
@@ -21,7 +20,7 @@ TEST_CASE_PATTERN = {
"test environment": "UT_T1_1",
"reset": "",
"expected result": "1. set succeed",
"cmd set": "test_unit_test_case",
"cmd set": "test_unit_test_case"
}
CONFIG_FILE_PATTERN = {
@@ -191,7 +190,8 @@ class Parser(object):
"sub module": self.module_map[prop["module"]]['sub module'],
"summary": name,
"multi_device": prop["multi_device"],
"multi_stage": prop["multi_stage"]})
"multi_stage": prop["multi_stage"],
"timeout": int(prop["timeout"])})
return test_case
def dump_test_cases(self, test_cases):