Commit e58e2506 authored by Alexander Lercher's avatar Alexander Lercher

Merge branch 'support/code-coverage' into develop

parents b87fc012 ccce8a78
...@@ -76,7 +76,7 @@ except: ...@@ -76,7 +76,7 @@ except:
os.chdir(REPORTS) os.chdir(REPORTS)
target = REPORTS target = REPORTS
target = str(target) + f'\\.coverage' target = os.path.normpath( str(target) + f'/.coverage' )
try: try:
os.remove(target) #Try to Remove old coverage file, if exists os.remove(target) #Try to Remove old coverage file, if exists
except Exception as e: except Exception as e:
...@@ -86,10 +86,10 @@ print("Combinging coverages") ...@@ -86,10 +86,10 @@ print("Combinging coverages")
counter = 0 counter = 0
for path in coverage_paths_set: for path in coverage_paths_set:
try: try:
path += '\\.coverage' path += '/.coverage'
original = path original = os.path.normpath( path )
target = REPORTS target = REPORTS
target = str(target) + f'\\.coverage.{counter}' target = os.path.normpath( str(target) + f'/.coverage.{counter}' )
counter += 1 counter += 1
shutil.copyfile(original,target) #copy new generated coverage files shutil.copyfile(original,target) #copy new generated coverage files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment