From 1277a40b312dbe1f3dd252380c07073a71ddf6c8 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 24 Nov 2024 21:12:08 -0500 Subject: [PATCH] Tests: Add driver --obj-suffix option --- test_regress/driver.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test_regress/driver.py b/test_regress/driver.py index d8a80a89a..1ae850a38 100755 --- a/test_regress/driver.py +++ b/test_regress/driver.py @@ -660,7 +660,7 @@ class VlTest: scen_dir = re.sub(r'^t/\.\./', '', scen_dir) # Not mkpath so error if try to build somewhere odd VtOs.mkdir_ok(scen_dir) - self.obj_dir = scen_dir + "/" + self.name + self.obj_dir = scen_dir + "/" + self.name + Args.obj_suffix define_opt = self._define_opt_calc() @@ -2744,6 +2744,10 @@ if __name__ == '__main__': default=0, type=int, help='parallel job count (0=cpu count)') + parser.add_argument('--obj-suffix', + action='store', + default='', + help='suffix to add to obj_ test directory name') parser.add_argument('--quiet', action='store_true', help='suppress output except failures and progress')