Add an inorder flag to pspec
authorCesar Strauss <cestrauss@gmail.com>
Tue, 28 Dec 2021 21:05:44 +0000 (18:05 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Tue, 28 Dec 2021 21:15:31 +0000 (18:15 -0300)
src/openpower/test/runner.py

index 9721af0a29a3c8724fb2a3b27c0261a8886eaca4..52091d925daca76ee1c92083955fd2cf86fa1197 100644 (file)
@@ -115,13 +115,14 @@ class TestRunnerBase(FHDLTestCase):
     """
     def __init__(self, tst_data, microwatt_mmu=False, rom=None,
                         svp64=True, run_hdl=None, run_sim=True,
-                        allow_overlap=False):
+                        allow_overlap=False, inorder=False):
         super().__init__("run_all")
         self.test_data = tst_data
         self.microwatt_mmu = microwatt_mmu
         self.rom = rom
         self.svp64 = svp64
         self.allow_overlap = allow_overlap
+        self.inorder = inorder
         self.run_hdl = run_hdl
         self.run_sim = run_sim
 
@@ -154,6 +155,7 @@ class TestRunnerBase(FHDLTestCase):
                              core_domain="sync", # no alternative domain
                              svp64=self.svp64,
                              allow_overlap=self.allow_overlap,
+                             inorder=self.inorder,
                              mmu=self.microwatt_mmu,
                              reg_wid=64)