New test driver to allow for standalone regression tests.
* tests/testdrv.c: New.
This driver is intended to run easily run the regression tests on the
actual host platform where the software has been compiled for. In
particular for Windows cross-building is mandatory and manually
running tests is error prone.
Some of the code has been taken from gnupg/common/exechelp*.c and
re-licensed from (LGPL-3.0-or-later OR GPL-2.0-or-later) to
LGPL-2.1-or-later. The original code has been written by g10 Code
employees or contractors.
(cherry picked from commit b142da4c88deef4798ef96061dac399df3ddd73d)
- Removed X448 related tests which are not supported by 1.8.
- Removed SM3 from the long hash tests.
- Signed-off-by: Werner Koch <wk@gnupg.org>