bimtester: run, move comments and add prints

This commit is contained in:
Bernd Hahnebach
2021-01-15 10:43:54 +01:00
parent 3df2c89b0a
commit aefd4e3387
+9 -4
View File
@@ -8,6 +8,10 @@ import webbrowser
from behave.__main__ import main as behave_main
# TODO: if the ifc file name or path contains special character
# like German Umlaute behave gives an error
# get bimtester source code module path
bimtester_path = os.path.dirname(os.path.realpath(__file__))
# print(bimtester_path)
@@ -26,6 +30,9 @@ def get_resource_path(relative_path):
def run_tests(args):
print("# Run tests.")
if not get_features(args):
print("No features could be found to check.")
return False
@@ -99,10 +106,6 @@ reset_runtime()
"""
# TODO: if the ifc file name or path contains special character
# like German Umlaute behave gives an error
def run_copyintmp_tests(args={}):
"""
@@ -325,6 +328,8 @@ def run_copyintmp_tests(args={}):
def run_all(the_features_path, the_ifcfile):
print("# Run all.")
# run bimtester
runpath = run_copyintmp_tests({
"featuresdir": the_features_path,