Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scapy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
scapy
Commits
bc283f01
Commit
bc283f01
authored
8 years ago
by
gpotter2
Browse files
Options
Downloads
Patches
Plain Diff
Fix coverage behavior
parent
d472ad37
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
appveyor.yml
+9
-2
9 additions, 2 deletions
appveyor.yml
with
9 additions
and
2 deletions
appveyor.yml
+
9
−
2
View file @
bc283f01
...
...
@@ -24,15 +24,22 @@ test_script:
-
set PATH="%APPVEYOR_BUILD_FOLDER%;C:\Program Files\Wireshark\;%PATH%"
# Main unit tests
-
"
%PYTHON%
\\
python
-m
coverage
run
-
a
bin
\\
UTscapy
-f
text
-t
test
\\
regression.uts
-F
-K
mock_read_routes6_bsd
||
exit
/b
42"
-
"
%PYTHON%
\\
python
-m
coverage
run
-
-parallel-mode
bin
\\
UTscapy
-f
text
-t
test
\\
regression.uts
-F
-K
mock_read_routes6_bsd
||
exit
/b
42"
-
'
del
test\regression.uts'
# Secondary and contrib unit tests
-
'
del
test\bpf.uts'
# Don't bother with BPF regression tests
-
"
%PYTHON%
\\
python
-m
coverage
run
-a
bin
\\
UTscapy
-c
test
\\
configs
\\
windows.utsc
||
exit
/b
42"
-
"
%PYTHON%
\\
python
-m
coverage
run
--parallel-mode
bin
\\
UTscapy
-c
test
\\
configs
\\
windows.utsc
||
exit
/b
42"
# Tls unit tests
# Note: due to a multiprocessing bug, we got to be in the UTscapy.py folder and call it directly
-
'
cd
scapy/tools'
-
"
%PYTHON%
\\
python
-m
coverage
run
--concurrency=multiprocessing
UTscapy.py
-f
text
-t
..
\\
..
\\
test
\\
tls
\\
tests_tls_netaccess.uts
-F
-P
\"
sys.path.append(os.path.abspath('../../test/tls'))
\"
-K
open_ssl_client
||
exit
/b
42"
-
'
cd
../../'
after_test
:
# Install & run codecov
-
"
%PYTHON%
\\
python
-m
pip
install
codecov"
-
"
SET
PATH=%PYTHON%
\\
Scripts
\\
;%PATH%"
-
"
coverage
combine
./
./scapy/tools/"
-
codecov
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment