Appveyour fix paths (#379)

This commit is contained in:
Oleg Moiseenko 2019-08-30 13:55:35 +03:00 committed by GitHub
parent bd7c1ccf4b
commit 4433f8982c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 6 deletions

View file

@ -193,9 +193,9 @@ build_script:
} }
if(!(Test-Path C:\ProxSpace\pm3\client\hardnested\tables\*.bin.z)){ if(!(Test-Path C:\ProxSpace\pm3\client\resources\hardnested_tables\*.bin.z)){
throw "Files in hardnested\tables not exists." throw "Files in client\resources\hardnested_tables is not exists."
} }
@ -220,9 +220,7 @@ build_script:
New-Item -ItemType Directory -Force -Path C:\ProxSpace\Release\hardnested\tables New-Item -ItemType Directory -Force -Path C:\ProxSpace\Release\hardnested\tables
Copy-Item C:\ProxSpace\pm3\client\hardnested\*.bin C:\ProxSpace\Release\hardnested Copy-Item C:\ProxSpace\pm3\client\resources\hardnested_tables\*.bin.z C:\ProxSpace\Release\hardnested\tables
Copy-Item C:\ProxSpace\pm3\client\hardnested\tables\*.bin.z C:\ProxSpace\Release\hardnested\tables
# dll files # dll files

View file

@ -58,7 +58,13 @@ int ExecuteCryptoTests(bool verbose) {
res = mbedtls_entropy_self_test(verbose); res = mbedtls_entropy_self_test(verbose);
if (res) TestFail = true; if (res) TestFail = true;
res = mbedtls_timing_self_test(verbose); // retry for CI (when resources too low)
for (int i = 0; i < 3; i++) {
res = mbedtls_timing_self_test(verbose);
if (!res)
break;
PrintAndLogEx(WARNING, "Repeat timing test %d", i + 1);
}
if (res) TestFail = true; if (res) TestFail = true;
res = mbedtls_ctr_drbg_self_test(verbose); res = mbedtls_ctr_drbg_self_test(verbose);