Merge branch 'ci-phasesconfig' into lc-eph

This commit is contained in:
Etan Kissling 2022-12-12 12:15:39 +01:00
commit 7e6a990790
No known key found for this signature in database
GPG Key ID: B21DA824C5A3D03D
1 changed files with 3 additions and 3 deletions

View File

@ -602,13 +602,13 @@ def with_config_overrides(config_overrides, emitted_fork=None, emit=True):
output_config = output
kw['phases'] = phases
# Run the function
out = fn(*args, spec=spec, **kw)
# Emit requested spec (with overrides)
if emit:
yield 'config', 'cfg', output_config
# Run the function
out = fn(*args, spec=spec, **kw)
# If it's not returning None like a normal test function,
# it's generating things, and we need to complete it before setting back the config.
if out is not None: