Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
sbws
Commits
adcaf04d
Commit
adcaf04d
authored
Jan 09, 2019
by
juga
Browse files
CI: run scanner using the test network
as part of the integration tests. Fixes bug
#28933
. Bugfix v0.1.0.
parent
5f86552a
Changes
1
Hide whitespace changes
Inline
Side-by-side
tox.ini
View file @
adcaf04d
...
...
@@ -43,15 +43,21 @@ whitelist_externals =
bash
sleep
wget
mkdir
commands
=
tar
-C
{envtmpdir}
-vxf
{toxinidir}/tests/integration/net.tar
bash
{envtmpdir}/net/start.sh
bash
-c
"time
python3
{envtmpdir}/net/wait.py
{envtmpdir}/net/{auth,relay,exit}*"
bash
-c
"python3
{toxinidir}/scripts/tools/sbws-http-server.py
--port
28888
&>/dev/null
&"
sleep
1
5
sleep
1
wget
-O/dev/null
http://127.0.0.1:28888/sbws.bin
; Run actually the scanner
mkdir
-p
/tmp/.sbws
; This add around 3min more to the tests
sbws
-c
{toxinidir}/tests/integration/sbws_testnet.ini
scanner
coverage
run
-a
--rcfile
=
{toxinidir}/.coveragerc --source=sbws -m pytest -s {toxinidir}/tests/integration -vv
bash
{envtmpdir}/net/stop.sh
rm
-rf
/tmp/.sbws
[testenv:lint]
skip_install
=
True
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment