bimtester: parse behave args to the gui too and other small gui

improvements
This commit is contained in:
Bernd Hahnebach
2021-01-14 15:53:14 +01:00
parent c6347e30be
commit 521a5a5981
3 changed files with 66 additions and 27 deletions
+3 -6
View File
@@ -281,15 +281,12 @@ def run_copyintmp_tests(args={}):
return copy_base_path
def run_all(the_features_path, the_ifcfile):
def run_all(args):
print("# Run all.")
# run bimtester
runpath = run_copyintmp_tests({
"featuresdir": the_features_path,
"ifcfile": the_ifcfile
})
runpath = run_copyintmp_tests(args)
print(runpath)
# check if it worked out well
@@ -306,7 +303,7 @@ def run_all(the_features_path, the_ifcfile):
generate_report(runpath)
# get the feature files
feature_files = os.listdir(
os.path.join(the_features_path, "features")
os.path.join(args["featuresdir"], "features")
)
# print(feature_files)
for ff in feature_files: