Skip to content

Commit

Permalink
Merge remote-tracking branch 'richtja/scheduler_fix'
Browse files Browse the repository at this point in the history
Signed-off-by: Cleber Rosa <[email protected]>
  • Loading branch information
clebergnu committed Jun 13, 2024
2 parents d2695b8 + 22d3ba2 commit 47976d4
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions avocado/core/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,15 +339,9 @@ def from_config(cls, config, name=None, job_config=None):
if job_config:
config.update(job_config)
config.update(suite_config)
runner = config.get("run.suite_runner")
if runner == "nrunner":
suite = cls._from_config_with_resolver(config, name)
if suite.test_parameters or suite.variants:
suite.tests = suite._get_test_variants()
else:
raise TestSuiteError(
f'Suite creation for runner "{runner}" ' f"is not supported"
)
suite = cls._from_config_with_resolver(config, name)
if suite.test_parameters or suite.variants:
suite.tests = suite._get_test_variants()

if not config.get("run.ignore_missing_references"):
if not suite.tests:
Expand Down

0 comments on commit 47976d4

Please sign in to comment.