mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
test_curves: do not rely on CWD
This commit is contained in:
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…
Reference in New Issue
Block a user