summary refs log tree commit diff stats
path: root/tests/unit/crypto-tls-x509-helpers.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: add more helper macros for creating TLS x509 certsDaniel P. Berrangé2022-05-161-0/+53
| | | | | | | | | | | These macros are more suited to the general consumers of certs in the test suite, where we don't need to exercise every single possible permutation. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20220426160048.812266-3-berrange@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
* tests: remove QCRYPTO_HAVE_TLS_TEST_SUPPORTPaolo Bonzini2021-06-251-10/+1
| | | | | | | | | | meson.build already decides whether it is possible to build the TLS test suite. There is no need to include that in the source as well. The dummy tests in fact are broken because they do not produce valid TAP output (empty output is rejected by scripts/tap-driver.pl). Cc: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* tests: Move unit tests into a separate directoryThomas Huth2021-03-121-0/+132
The main tests directory still looks very crowded, and it's not clear which files are part of a unit tests and which belong to a different test subsystem. Let's clean up the mess and move the unit tests to a separate directory. Message-Id: <20210310063314.1049838-1-thuth@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>