Skip to content

testsuite: Handle exceptions in framework_fail when testdir is not initialised

Zubin requested to merge wip/testsuite-error into master

When framework_fail is called before initialising testdir, it would fail with an exception reporting the testdir not being initialised instead of the actual failure.

Ensure we report the actual reason for the failure instead of failing in this way.

One way this can manifest is when trying to run a test that doesn't exist using --only

Merge request reports