mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 14:58:09 +00:00
ci(monero): update test executable, enable more tests
This commit is contained in:
parent
cae87b9065
commit
2a3f0c16bd
@ -19,8 +19,8 @@ let
|
||||
sha256 = "02s3qkb6kz3ndyx7rfndjbvp4vlwiqc42fxypn3g6jnc0v5jyz95";
|
||||
}) { };
|
||||
moneroTests = nixpkgs.fetchurl {
|
||||
url = "https://github.com/ph4r05/monero/releases/download/v0.17.1.9-tests/trezor_tests";
|
||||
sha256 = "410bc4ff2ff1edc65e17f15b549bd1bf8a3776cf67abdea86aed52cf4bce8d9d";
|
||||
url = "https://github.com/ph4r05/monero/releases/download/v0.17.3.0-dev-tests/trezor_tests";
|
||||
sha256 = "sha256-tTQTe/Yk6oURq7GDOEotJ7Y2UpCgyuU5odjEHNTMrmE=";
|
||||
};
|
||||
moneroTestsPatched = nixpkgs.runCommandCC "monero_trezor_tests" {} ''
|
||||
cp ${moneroTests} $out
|
||||
|
@ -54,7 +54,7 @@ fi
|
||||
echo "Running tests"
|
||||
TIME_TESTS_START=$SECONDS
|
||||
if [[ "$OSTYPE" == "linux-gnu" && "$FORCE_DOCKER_USE" != 1 ]]; then
|
||||
"$TREZOR_MONERO_TESTS_PATH" --chain=$TREZOR_MONERO_TESTS_CHAIN $@ 2>&1 > "$TREZOR_MONERO_TESTS_LOG"
|
||||
"$TREZOR_MONERO_TESTS_PATH" --heavy_tests --chain=$TREZOR_MONERO_TESTS_CHAIN $@ 2>&1 > "$TREZOR_MONERO_TESTS_LOG"
|
||||
error=$?
|
||||
|
||||
elif [[ "$OSTYPE" == "darwin"* || "$FORCE_DOCKER_USE" == 1 ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user