diff options
author | Paolo Bonzini | 2021-06-16 17:36:55 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-06-25 10:53:46 +0200 |
commit | 4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b (patch) | |
tree | 54c2aaed1e8799d94d00b5de06cdc5660b732a94 /tests/unit/test-crypto-tlssession.c | |
parent | meson: remove preadv from summary (diff) | |
download | qemu-4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b.tar.gz qemu-4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b.tar.xz qemu-4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b.zip |
tests: remove QCRYPTO_HAVE_TLS_TEST_SUPPORT
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>
Diffstat (limited to 'tests/unit/test-crypto-tlssession.c')
-rw-r--r-- | tests/unit/test-crypto-tlssession.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/unit/test-crypto-tlssession.c b/tests/unit/test-crypto-tlssession.c index 8b2453fa79..5f0da9192c 100644 --- a/tests/unit/test-crypto-tlssession.c +++ b/tests/unit/test-crypto-tlssession.c @@ -31,8 +31,6 @@ #include "qemu/sockets.h" #include "authz/list.h" -#ifdef QCRYPTO_HAVE_TLS_TEST_SUPPORT - #define WORKDIR "tests/test-crypto-tlssession-work/" #define PSKFILE WORKDIR "keys.psk" #define KEYFILE WORKDIR "key-ctx.pem" @@ -648,13 +646,3 @@ int main(int argc, char **argv) return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE; } - -#else /* ! QCRYPTO_HAVE_TLS_TEST_SUPPORT */ - -int -main(void) -{ - return EXIT_SUCCESS; -} - -#endif /* ! QCRYPTO_HAVE_TLS_TEST_SUPPORT */ |