Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
4c9706a9
Commit
4c9706a9
authored
Aug 31, 2023
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(ci): little syntax diffs post-upgrade on obelix
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
97b08440
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ci-scripts/cls_static_code_analysis.py
ci-scripts/cls_static_code_analysis.py
+4
-4
No files found.
ci-scripts/cls_static_code_analysis.py
View file @
4c9706a9
...
@@ -283,7 +283,7 @@ class StaticCodeAnalysis():
...
@@ -283,7 +283,7 @@ class StaticCodeAnalysis():
if
re
.
search
(
'=== Files with incorrect define protection ==='
,
str
(
line
))
is
not
None
:
if
re
.
search
(
'=== Files with incorrect define protection ==='
,
str
(
line
))
is
not
None
:
circularHeaderDependency
=
True
circularHeaderDependency
=
True
if
circularHeaderDependency
:
if
circularHeaderDependency
:
if
re
.
search
(
'
Removing intermediate container
'
,
str
(
line
))
is
not
None
:
if
re
.
search
(
'
DONE
'
,
str
(
line
))
is
not
None
:
circularHeaderDependency
=
False
circularHeaderDependency
=
False
elif
re
.
search
(
'Running in|Files with incorrect define protection'
,
str
(
line
))
is
not
None
:
elif
re
.
search
(
'Running in|Files with incorrect define protection'
,
str
(
line
))
is
not
None
:
pass
pass
...
@@ -293,7 +293,7 @@ class StaticCodeAnalysis():
...
@@ -293,7 +293,7 @@ class StaticCodeAnalysis():
if
re
.
search
(
'=== Files with a GNU GPL licence Banner ==='
,
str
(
line
))
is
not
None
:
if
re
.
search
(
'=== Files with a GNU GPL licence Banner ==='
,
str
(
line
))
is
not
None
:
gnuGplLicence
=
True
gnuGplLicence
=
True
if
gnuGplLicence
:
if
gnuGplLicence
:
if
re
.
search
(
'
Removing intermediate container
'
,
str
(
line
))
is
not
None
:
if
re
.
search
(
'
DONE
'
,
str
(
line
))
is
not
None
:
gnuGplLicence
=
False
gnuGplLicence
=
False
elif
re
.
search
(
'Running in|Files with a GNU GPL licence Banner'
,
str
(
line
))
is
not
None
:
elif
re
.
search
(
'Running in|Files with a GNU GPL licence Banner'
,
str
(
line
))
is
not
None
:
pass
pass
...
@@ -303,7 +303,7 @@ class StaticCodeAnalysis():
...
@@ -303,7 +303,7 @@ class StaticCodeAnalysis():
if
re
.
search
(
'=== Files with a suspect Banner ==='
,
str
(
line
))
is
not
None
:
if
re
.
search
(
'=== Files with a suspect Banner ==='
,
str
(
line
))
is
not
None
:
suspectLicence
=
True
suspectLicence
=
True
if
suspectLicence
:
if
suspectLicence
:
if
re
.
search
(
'
Removing intermediate container
'
,
str
(
line
))
is
not
None
:
if
re
.
search
(
'
DONE
'
,
str
(
line
))
is
not
None
:
suspectLicence
=
False
suspectLicence
=
False
elif
re
.
search
(
'Running in|Files with a suspect Banner'
,
str
(
line
))
is
not
None
:
elif
re
.
search
(
'Running in|Files with a suspect Banner'
,
str
(
line
))
is
not
None
:
pass
pass
...
@@ -340,7 +340,7 @@ class StaticCodeAnalysis():
...
@@ -340,7 +340,7 @@ class StaticCodeAnalysis():
html_cell
=
f'Number of files not respecting:
{
len
(
gnuGplLicenceFiles
)
}
\n
'
html_cell
=
f'Number of files not respecting:
{
len
(
gnuGplLicenceFiles
)
}
\n
'
for
nFile
in
gnuGplLicenceFiles
:
for
nFile
in
gnuGplLicenceFiles
:
html_cell
+=
str
(
nFile
).
strip
()
+
'
\n
'
html_cell
+=
str
(
nFile
).
strip
()
+
'
\n
'
HTML
.
CreateHtmlTestRowQueue
(
'Files w/ GNU GPL License'
,
'KO'
,
html_queue
)
HTML
.
CreateHtmlTestRowQueue
(
'Files w/ GNU GPL License'
,
'KO'
,
[
html_cell
]
)
del
(
html_cell
)
del
(
html_cell
)
finalStatus
=
-
1
finalStatus
=
-
1
...
...
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