mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 11:05:39 +00:00
Create seedfile before running tests
With MBEDTLS_USE_PSA_CRYPTO and MBEDTLS_ENTROPY_NV_SEED enabled, the tests need a seedfile. Since test_suite_entropy is no longer there to create it, and MBEDTLS_USE_PSA_CRYPTO is now enabled in the full config, create tests/seedfile explicitly in basic-build-test.sh.
This commit is contained in:
parent
50a93510fd
commit
3c8ccc068f
|
@ -74,6 +74,9 @@ make -j
|
||||||
# Step 2 - Execute the tests
|
# Step 2 - Execute the tests
|
||||||
TEST_OUTPUT=out_${PPID}
|
TEST_OUTPUT=out_${PPID}
|
||||||
cd tests
|
cd tests
|
||||||
|
if [ ! -f "seedfile" ]; then
|
||||||
|
dd if=/dev/urandom of="seedfile" bs=32 count=1
|
||||||
|
fi
|
||||||
|
|
||||||
# Step 2a - Unit Tests
|
# Step 2a - Unit Tests
|
||||||
perl scripts/run-test-suites.pl -v 2 |tee unit-test-$TEST_OUTPUT
|
perl scripts/run-test-suites.pl -v 2 |tee unit-test-$TEST_OUTPUT
|
||||||
|
|
Loading…
Reference in a new issue