Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
ccce8a78
Commit
ccce8a78
authored
Jan 28, 2021
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/support/code-coverage' into support/code-coverage
parents
acc3e5ca
7071cb18
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
testing.py
bin/testing.py
+4
-4
No files found.
bin/testing.py
View file @
ccce8a78
...
...
@@ -76,7 +76,7 @@ except:
os
.
chdir
(
REPORTS
)
target
=
REPORTS
target
=
str
(
target
)
+
f
'
\\
.coverage'
target
=
os
.
path
.
normpath
(
str
(
target
)
+
f
'/.coverage'
)
try
:
os
.
remove
(
target
)
#Try to Remove old coverage file, if exists
except
Exception
as
e
:
...
...
@@ -86,10 +86,10 @@ print("Combinging coverages")
counter
=
0
for
path
in
coverage_paths_set
:
try
:
path
+=
'
\\
.coverage'
original
=
path
path
+=
'
/
.coverage'
original
=
os
.
path
.
normpath
(
path
)
target
=
REPORTS
target
=
str
(
target
)
+
f
'
\\
.coverage.{counter}'
target
=
os
.
path
.
normpath
(
str
(
target
)
+
f
'/.coverage.{counter}'
)
counter
+=
1
shutil
.
copyfile
(
original
,
target
)
#copy new generated coverage files
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment