1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

ci: fix core unit test asan

This commit is contained in:
Martin Milata 2022-04-05 11:06:11 +02:00 committed by matejcik
parent 38f4ab0983
commit 8965ad68f2
2 changed files with 31 additions and 30 deletions

View File

@ -33,6 +33,7 @@ core unit test asan:
variables:
RUSTC_BOOTSTRAP: "1"
RUSTFLAGS: "-Z sanitizer=address"
ADDRESS_SANITIZER: "1"
LSAN_OPTIONS: "suppressions=../../asan_suppressions.txt"
script:
- nix-shell --run "poetry run make -C core test | ts -s"

View File

@ -146,78 +146,78 @@ Python and rust unit tests, checking TT functionality.
### [core unit test asan](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L26)
### [core unit test t1](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L42)
### [core unit test t1](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L43)
### [core device test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L57)
### [core device test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L58)
Device tests for Core. Running device tests and also comparing screens
with the expected UI result.
See artifacts for a comprehensive report of UI.
See [docs/tests/ui-tests](../docs/tests/ui-tests.md) for more info.
### [core device asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L86)
### [core device asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L87)
### [core btconly device test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L103)
### [core btconly device test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L104)
Device tests excluding altcoins, only for BTC.
### [core btconly device asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L123)
### [core btconly device asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L124)
### [core monero test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L143)
### [core monero test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L144)
Monero tests.
### [core monero asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L162)
### [core monero asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L163)
### [core u2f test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L184)
### [core u2f test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L185)
Tests for U2F and HID.
### [core u2f asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L203)
### [core u2f asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L204)
### [core fido2 test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L221)
### [core fido2 test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L222)
FIDO2 device tests.
### [core fido2 asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L244)
### [core fido2 asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L245)
### [core click test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L264)
### [core click test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L265)
Click tests.
See [docs/tests/click-tests](../docs/tests/click-tests.md) for more info.
### [core click asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L281)
### [core click asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L282)
### [core upgrade test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L302)
### [core upgrade test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L303)
Upgrade tests.
See [docs/tests/upgrade-tests](../docs/tests/upgrade-tests.md) for more info.
### [core upgrade asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L321)
### [core upgrade asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L322)
### [core persistence test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L343)
### [core persistence test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L344)
Persistence tests.
### [core persistence asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L359)
### [core persistence asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L360)
### [core hwi test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L377)
### [core hwi test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L378)
### [crypto test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L395)
### [crypto test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L396)
### [legacy device test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L426)
### [legacy device test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L427)
### [legacy asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L453)
### [legacy asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L454)
### [legacy btconly test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L465)
### [legacy btconly test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L466)
### [legacy btconly asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L485)
### [legacy btconly asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L486)
### [legacy upgrade test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L500)
### [legacy upgrade test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L501)
### [legacy upgrade asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L519)
### [legacy upgrade asan test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L520)
### [legacy hwi test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L540)
### [legacy hwi test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L541)
### [python test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L559)
### [python test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L560)
### [storage test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L588)
### [storage test](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L589)
### [core unix memory profiler](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L611)
### [core unix memory profiler](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L612)
### [connect test core](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L635)
### [connect test core](https://github.com/trezor/trezor-firmware/blob/master/ci/test.yml#L636)
---
## TEST-HW stage - [test-hw.yml](../../ci/test-hw.yml)