1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-23 07:58:09 +00:00
Commit Graph

8858 Commits

Author SHA1 Message Date
Tomas Susanka
4850eaf534 emu.py: remove frozen variable 2020-01-30 14:47:11 +00:00
Tomas Susanka
50521bb16b tests/ui: add readme 2020-01-29 12:24:26 +00:00
EtherCore Contributor
c03caaf76a
common/defs: switch ERE logo (#808) 2020-01-29 10:49:21 +01:00
Tomas Susanka
e9c5e47ab4 ci: add Pipfile.lock to 'only_changes' 2020-01-29 09:09:32 +00:00
Tomas Susanka
2c783235e9 pipenv: update dependencies
and change Construct to a proper version
2020-01-29 09:05:31 +00:00
matejcik
5d052678a6 build: make sure resources are built for 'make mypy' 2020-01-28 16:42:24 +01:00
matejcik
04fe99af8e ci: turn mypy check into a part of style-check 2020-01-28 16:32:28 +01:00
matejcik
06909aef7d ci: no dependencies for python test 2020-01-28 16:24:58 +01:00
matejcik
0a052806c7 python: kill emulator if it doesn't become ready in time
this fixes a problem in upgrade-test, when one emulator fails to come up
and then blocks all other tests.
the CI task will still be failed, but at least we'll know at a glance
that it is a timeout problem
2020-01-28 16:15:09 +01:00
matejcik
72537e3c3a python: exclude broken version of construct to fix CI build 2020-01-28 15:47:48 +01:00
Tomas Susanka
73e17987d2 Revert "tests: add 'timeout' to markers"
This reverts commit 5364d5e978.
2020-01-28 14:45:47 +00:00
Tomas Susanka
5364d5e978 tests: add 'timeout' to markers 2020-01-28 14:30:42 +00:00
Tomas Susanka
1988fb0409 core: add short summary to pytest to see what failed right away 2020-01-28 09:32:03 +00:00
Tomas Susanka
d2f8a83057 docs: fix title and trezorlib readme link
By adding it to SUMMARY.md.
2020-01-28 09:30:04 +00:00
matejcik
c612b8fd2d tests: increase timeout for 16-of-16-share test 2020-01-27 20:17:52 +01:00
matejcik
9279049008 tests: register the 'slow' marker 2020-01-27 20:06:18 +01:00
matejcik
a1ed52c702 docs: add link to Python README 2020-01-27 19:41:50 +01:00
matejcik
066686a20c tests: raise timeouts for slow tests 2020-01-27 19:41:50 +01:00
matejcik
88ee780125 tests: set a 60-second timeout for every test case 2020-01-27 19:41:50 +01:00
matejcik
0df3c64855 core: fix unexpected messages in debug mode (fixes #809) 2020-01-27 19:41:41 +01:00
Tomas Susanka
cf73d8e499
Merge pull request #447 from trezor/tsusanka/utils-strings
Introduce format_plural
2020-01-27 10:30:44 +01:00
Tomas Susanka
bf1514d1ac core/test/strings: add test for words ending with 'hsxz' 2020-01-27 09:11:11 +00:00
matejcik
f506bd4447 python: update README (fixes #788) 2020-01-24 18:10:31 +01:00
matejcik
37ea0773ea python: do not preload prev_txes, drop dependency on coins.json 2020-01-24 17:51:43 +01:00
matejcik
4e82e69070 core: add missing type annotation 2020-01-24 16:55:24 +01:00
Tomas Susanka
0053511c66 utils: introduce format_plural and move format functions to strings.py 2020-01-24 16:25:14 +01:00
matejcik
75264a07a8
Emulator launcher scripts (#796)
Emulator launcher scripts
2020-01-24 16:18:18 +01:00
Pavol Rusnak
4868afcf51
core: add upy 1.12 to changelog 2020-01-24 14:34:06 +01:00
Pavol Rusnak
3de1b3aa54
core/embed: switch to unprivileged in main.c 2020-01-24 12:29:46 +00:00
Pavol Rusnak
7a2e0c3412
core/embed: don't call functions via supervisor if in privileged mode 2020-01-23 18:18:59 +00:00
matejcik
25910acdd1 tests: make use of new emulator code in emulator tests 2020-01-23 18:45:57 +01:00
matejcik
0496e49507 core/tests: fix monero runner script 2020-01-23 18:43:20 +01:00
matejcik
a3d309eca2 core/prof: make sure coverage data is generated with absolute paths 2020-01-23 18:43:20 +01:00
matejcik
34332cc294 ci: do not store resources for frozen builds 2020-01-23 18:43:20 +01:00
matejcik
e2fd2c35ff core: modify profiling wrapper to work with frozen builds 2020-01-23 18:43:20 +01:00
matejcik
e2f71a1acc ci: use frozen debug builds for emulator tests 2020-01-23 18:43:20 +01:00
matejcik
6cf48bf485 ci: use explicit trezor.log location 2020-01-23 18:43:20 +01:00
matejcik
32b269ad43 ci: fix path for core-bitcoinonly test 2020-01-23 18:43:20 +01:00
matejcik
d28caf990e docs: update emulator documentation 2020-01-23 18:43:20 +01:00
matejcik
85f2e18828 core: convert emu.sh to a simple dependency-less compat wrapper 2020-01-23 18:43:20 +01:00
matejcik
22c8b2569b core: simplify monero test use of emulator 2020-01-23 18:43:20 +01:00
matejcik
ec192e9406 core: use better emulator test wrappers (fixes #468) 2020-01-23 18:43:20 +01:00
matejcik
2294fb0453 core: drop unused env variables (TREZOR_TEST, TREZOR_SAVE_SCREEN) 2020-01-23 18:43:20 +01:00
matejcik
8dce2cf98c core: introduce emulator runner (fixes #466) 2020-01-23 18:43:20 +01:00
matejcik
27c4c2dd50 core: do not let frozen emulator import live files 2020-01-23 15:50:28 +01:00
matejcik
05131c328d python: trezorctl should not print empty line if result is None 2020-01-23 15:50:28 +01:00
matejcik
c151fdeefd python: add wait-for-emulator command 2020-01-23 15:50:28 +01:00
matejcik
29e883ab59 core/monero: fix usage of ctx.wait in pagination 2020-01-23 15:46:09 +01:00
matejcik
f707913f32 tests/ui: update fixtures to include missing confirms 2020-01-23 15:45:10 +01:00
matejcik
a79279115e core: move confirm_signal evaluation into concrete Layout implementations
Apart from making the code more correct for its users in
apps.common.confirm and elsewhere, this fixes a problem where the
confirm_signal would be scheduled before the dialog is rendered.
By making sure that handle_rendering is scheduled (i.e., listed in
create_tasks) before confirm_signal, we can be sure to render at least
once and thus appear in the UI test results.
2020-01-23 15:45:10 +01:00