From: Jacob Lifshay Date: Thu, 4 Aug 2022 07:04:03 +0000 (-0700) Subject: write output directory for formal test failures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99316e7807648a9a6c9293cc6a5cdfc7740e3e18;p=nmutil.git write output directory for formal test failures --- diff --git a/src/nmutil/formaltest.py b/src/nmutil/formaltest.py index db89f9e..05a5396 100644 --- a/src/nmutil/formaltest.py +++ b/src/nmutil/formaltest.py @@ -73,4 +73,4 @@ class FHDLTestCase(unittest.TestCase): stdout=subprocess.PIPE) as proc: stdout, stderr = proc.communicate(config) if proc.returncode != 0: - self.fail("Formal verification failed:\n" + stdout) + self.fail(f"Formal verification failed:\nIn {path}\n{stdout}")