From 6657134bd83a8aeda6a9083da5e1dd9c3d26de27 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Thu, 25 Apr 2019 16:45:58 +0200 Subject: [PATCH] storage: alter README to reflect monorepo --- storage/README.md | 2 +- storage/tests/README.md | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/storage/README.md b/storage/README.md index f44352a28..5e1bacc55 100644 --- a/storage/README.md +++ b/storage/README.md @@ -2,7 +2,7 @@ This repository contains the implementation of Trezor's internal storage, which is common for both trezor-mcu (Trezor One) and trezor-core (Trezor T). This README also contains a detailed description of the cryptographic design. -All tests are located in the [trezor-storage-test](https://github.com/trezor/trezor-storage-test) repository, which also includes a Python implementation to run tests against this C production version and the Python one. +All tests are located in the `tests` subdirectory, which also includes a Python implementation to run tests against this C production version and the Python one. ## Summary diff --git a/storage/tests/README.md b/storage/tests/README.md index 3fd1eacc8..72f9b83e1 100644 --- a/storage/tests/README.md +++ b/storage/tests/README.md @@ -1,12 +1,10 @@ # Trezor Storage tests -This repository contains all the necessary files to properly test Trezor's internal storage, which is implemented in the [trezor-storage](https://github.com/trezor/trezor-storage) repository. - -The CI is available on the internal GitLab. +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 [trezor-storage](https://github.com/trezor/trezor-storage), however we need some other accompanying files to build it on PC. +- `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](https://hypothesis.works) for random tests.