write output directory for formal test failures
authorJacob Lifshay <programmerjake@gmail.com>
Thu, 4 Aug 2022 07:04:03 +0000 (00:04 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 4 Aug 2022 07:04:03 +0000 (00:04 -0700)
src/nmutil/formaltest.py

index db89f9e342ad63117a4313a601803d6effae860a..05a5396b8198acab40145d486439f7fe788e78c0 100644 (file)
@@ -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}")