From a5b00f1ac99a647aa255ef4450043b7688806bc6 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Wed, 25 Nov 2020 07:29:10 +0100 Subject: [PATCH] bimtester: pass the ifc base file name to behave --- src/ifcbimtester/run.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ifcbimtester/run.py b/src/ifcbimtester/run.py index 1f0e7b0bde..c64c54372f 100644 --- a/src/ifcbimtester/run.py +++ b/src/ifcbimtester/run.py @@ -240,7 +240,10 @@ def run_intmp_tests(args={}): "json.pretty", # next two lines are one arg "--outfile", - os.path.join(report_path, "report.json") + os.path.join(report_path, "report.json"), + # next two lines are one arg + "--define", + "ifcbasename={}".format(os.path.splitext(ifc_filename)[0]) ]) print(behave_args)