1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00
trezor-firmware/storage/tests
Pavol Rusnak 8f1d33d5f9 build(core,legacy): remove gcc, use cc instead of gcc
for firmware builds we still use arm-none-eabi-gcc via $(PREFIX)gcc

[no changelog]
2022-04-27 15:48:14 +02:00
..
c build(core,legacy): remove gcc, use cc instead of gcc 2022-04-27 15:48:14 +02:00
c0 build(core,legacy): remove gcc, use cc instead of gcc 2022-04-27 15:48:14 +02:00
python style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
tests test(storage): remove timeouts for test_random and test_random_upgrade 2022-04-05 16:55:49 +02:00
Makefile ci: Use address sanitizer in CI. 2022-01-19 15:22:03 +01:00
README.md storage: alter README to reflect monorepo 2019-04-25 16:50:56 +02:00
test.py test(storage): Update tests to comply with new storage version and interface. 2021-03-25 14:24:41 +01:00

Trezor Storage tests

This repository contains all the necessary files to properly test Trezor's internal storage.

This repository consists of:

  • c: The actual C version is implemented in the main storage folder, however we need some other accompanying files to build it on computer.
  • c0: This is the older version of Trezor storage. It is used to test upgrades from the older format to the newer one.
  • python: Python version. Serves as a reference implementation and is implemented purely for the goal of properly testing the C version.
  • tests: Most of the tests run the two implementations against each other. Uses Pytest and hypothesis for random tests.