scripts: twister: Remove harness repeat field
Removed Harness's repeat field.
Added to schemas in e722db14ad
,
together with the rest of harness_config.
Added to Harness when it was created.
Now present only in one sample -
mec15xxevb_assy6853 power management sample.
Could not find definitive proof whether it has ever been used.
Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>
This commit is contained in:
parent
0ac898026d
commit
ad210f7579
|
@ -499,9 +499,6 @@ harness_config: <harness configuration options>
|
||||||
ordered: <True|False> (default False)
|
ordered: <True|False> (default False)
|
||||||
Check the regular expression strings in orderly or randomly fashion
|
Check the regular expression strings in orderly or randomly fashion
|
||||||
|
|
||||||
repeat: <integer>
|
|
||||||
Number of times to validate the repeated regex expression
|
|
||||||
|
|
||||||
record: <recording options> (optional)
|
record: <recording options> (optional)
|
||||||
regex: <regular expression> (required)
|
regex: <regular expression> (required)
|
||||||
The regular expression with named subgroups to match data fields
|
The regular expression with named subgroups to match data fields
|
||||||
|
|
|
@ -13,4 +13,3 @@ tests:
|
||||||
regex:
|
regex:
|
||||||
- "Wake from Light Sleep"
|
- "Wake from Light Sleep"
|
||||||
- "Wake from Deep Sleep"
|
- "Wake from Deep Sleep"
|
||||||
repeat: 3
|
|
||||||
|
|
|
@ -49,7 +49,6 @@ class Harness:
|
||||||
self.regex = []
|
self.regex = []
|
||||||
self.matches = OrderedDict()
|
self.matches = OrderedDict()
|
||||||
self.ordered = True
|
self.ordered = True
|
||||||
self.repeat = 1
|
|
||||||
self.id = None
|
self.id = None
|
||||||
self.fail_on_fault = True
|
self.fail_on_fault = True
|
||||||
self.fault = False
|
self.fault = False
|
||||||
|
@ -78,7 +77,6 @@ class Harness:
|
||||||
if config:
|
if config:
|
||||||
self.type = config.get('type', None)
|
self.type = config.get('type', None)
|
||||||
self.regex = config.get('regex', [])
|
self.regex = config.get('regex', [])
|
||||||
self.repeat = config.get('repeat', 1)
|
|
||||||
self.ordered = config.get('ordered', True)
|
self.ordered = config.get('ordered', True)
|
||||||
self.record = config.get('record', {})
|
self.record = config.get('record', {})
|
||||||
if self.record:
|
if self.record:
|
||||||
|
|
|
@ -101,9 +101,6 @@ schema;scenario-schema:
|
||||||
"ordered":
|
"ordered":
|
||||||
type: bool
|
type: bool
|
||||||
required: false
|
required: false
|
||||||
"repeat":
|
|
||||||
type: int
|
|
||||||
required: false
|
|
||||||
"pytest_root":
|
"pytest_root":
|
||||||
type: seq
|
type: seq
|
||||||
required: false
|
required: false
|
||||||
|
|
Loading…
Reference in a new issue