diff --git a/doc/develop/test/twister.rst b/doc/develop/test/twister.rst index 35f2c087eca..4f0169ecec6 100644 --- a/doc/develop/test/twister.rst +++ b/doc/develop/test/twister.rst @@ -499,9 +499,6 @@ harness_config: ordered: (default False) Check the regular expression strings in orderly or randomly fashion - repeat: - Number of times to validate the repeated regex expression - record: (optional) regex: (required) The regular expression with named subgroups to match data fields diff --git a/samples/boards/mec15xxevb_assy6853/power_management/sample.yaml b/samples/boards/mec15xxevb_assy6853/power_management/sample.yaml index 578477ba689..b03b441e172 100644 --- a/samples/boards/mec15xxevb_assy6853/power_management/sample.yaml +++ b/samples/boards/mec15xxevb_assy6853/power_management/sample.yaml @@ -13,4 +13,3 @@ tests: regex: - "Wake from Light Sleep" - "Wake from Deep Sleep" - repeat: 3 diff --git a/scripts/pylib/twister/twisterlib/harness.py b/scripts/pylib/twister/twisterlib/harness.py index d299c98c8e6..c8aa4379300 100644 --- a/scripts/pylib/twister/twisterlib/harness.py +++ b/scripts/pylib/twister/twisterlib/harness.py @@ -49,7 +49,6 @@ class Harness: self.regex = [] self.matches = OrderedDict() self.ordered = True - self.repeat = 1 self.id = None self.fail_on_fault = True self.fault = False @@ -78,7 +77,6 @@ class Harness: if config: self.type = config.get('type', None) self.regex = config.get('regex', []) - self.repeat = config.get('repeat', 1) self.ordered = config.get('ordered', True) self.record = config.get('record', {}) if self.record: diff --git a/scripts/schemas/twister/testsuite-schema.yaml b/scripts/schemas/twister/testsuite-schema.yaml index 454959fc608..1eae7dcef1b 100644 --- a/scripts/schemas/twister/testsuite-schema.yaml +++ b/scripts/schemas/twister/testsuite-schema.yaml @@ -101,9 +101,6 @@ schema;scenario-schema: "ordered": type: bool required: false - "repeat": - type: int - required: false "pytest_root": type: seq required: false