add unit test for lru cache
This commit is contained in:
parent
2461f623dd
commit
3fc543cb7f
2 changed files with 8 additions and 6 deletions
|
@ -9,10 +9,11 @@ cache:
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -qq build-essential libssl-dev swig python-m2crypto python-numpy dnsutils
|
- sudo apt-get install -qq build-essential libssl-dev swig python-m2crypto python-numpy dnsutils
|
||||||
- pip install m2crypto salsa20 pep8
|
- pip install m2crypto salsa20 pep8 nose
|
||||||
- sudo tests/socksify/install.sh
|
- sudo tests/socksify/install.sh
|
||||||
script:
|
script:
|
||||||
- pep8 .
|
- pep8 .
|
||||||
|
- nosetests shadowsocks/*
|
||||||
- python tests/test.py -c tests/table.json
|
- python tests/test.py -c tests/table.json
|
||||||
- python tests/test.py -c tests/aes.json
|
- python tests/test.py -c tests/aes.json
|
||||||
- python tests/test.py -c tests/aes-ctr.json
|
- python tests/test.py -c tests/aes-ctr.json
|
||||||
|
|
|
@ -4,6 +4,7 @@ import sys
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
before = time.time()
|
before = time.time()
|
||||||
|
|
||||||
for line in sys.stdin:
|
for line in sys.stdin:
|
||||||
|
|
Loading…
Add table
Reference in a new issue