test_curves: do not rely on CWD

pull/25/head
matejcik 6 years ago committed by matejcik
parent 957b8129bd
commit 9b2de9584d

@ -27,7 +27,7 @@ script:
- ./tests/test_check
- CK_TIMEOUT_MULTIPLIER=20 valgrind -q --error-exitcode=1 ./tests/test_check
- ./tests/test_openssl 1000
- cd ./tests ; ITERS=10 $PYTHON -m pytest ; cd ..
- ITERS=10 $PYTHON -m pytest tests/
notifications:
webhooks:

@ -40,7 +40,8 @@ points = [
random_iters = int(os.environ.get('ITERS', 1))
lib = c.cdll.LoadLibrary('./libtrezor-crypto.so')
DIR = os.path.abspath(os.path.dirname(__file__))
lib = c.cdll.LoadLibrary(os.path.join(DIR, 'libtrezor-crypto.so'))
class curve_info(c.Structure):
_fields_ = [("bip32_name", c.c_char_p),

Loading…
Cancel
Save