Files
poky/meta/recipes-support/libgcrypt/files/run-ptest
Ross Burton de284c467a libgcrypt: rewrite ptest
Instead of installing pieces of the build system, we can install the
test driver (which can also be used to list the files needed) and run
the tests directly.

(From OE-Core rev: 5e07e6c376cf46d2788dcef53e9feba890c0236d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-30 10:33:35 +01:00

238 B

#!/bin/sh

Run the tests in regression mode so they are quicker

export GCRYPT_IN_REGRESSION_TEST=1

The 'random' test invokes itself, so we need to be sure that the test

directory is on PATH.

export PATH=$PATH:.

./testdrv --verbose