diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-15 21:51:49 +0100 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2023-11-16 07:13:41 +0100 |
| commit | 9d72dd100ced090f7708b2189a8ef4e855ac3314 (patch) | |
| tree | 461f55bcf86c8952e20fdc6bdf69e20436208170 /tests/avocado/reverse_debugging.py | |
| parent | cfe52e91c4020cacf6f95f907c06bf5c2deeec09 (diff) | |
| download | focaccia-qemu-9d72dd100ced090f7708b2189a8ef4e855ac3314.tar.gz focaccia-qemu-9d72dd100ced090f7708b2189a8ef4e855ac3314.zip | |
tests/avocado: Make fetch_asset() unconditionally require a crypto hash
In a perfect world we'd have reproducible tests, but then we'd be sure we run the same binaries. If a binary artifact isn't hashed, we have no idea what we are running. Therefore enforce hashing for all our artifacts. With this change, unhashed artifacts produce: $ avocado run tests/avocado/multiprocess.py (1/2) tests/avocado/multiprocess.py:Multiprocess.test_multiprocess_x86_64: ERROR: QemuBaseTest.fetch_asset() missing 1 required positional argument: 'asset_hash' (0.19 s) Inspired-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-ID: <20231115205149.90765-1-philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/avocado/reverse_debugging.py')
0 files changed, 0 insertions, 0 deletions