aboutsummaryrefslogtreecommitdiffstats
path: root/test/README.ssltest.md
diff options
context:
space:
mode:
authorTodd Short <tshort@akamai.com>2022-05-25 11:39:20 -0400
committerTodd Short <todd.short@me.com>2022-05-27 14:17:29 -0400
commiteec204f4b19f86e726aa09c5c919a57bdf2ee1d0 (patch)
tree7e76fdee921385364089d2dd68987013d9060b2a /test/README.ssltest.md
parentabe90105ba0908d5a2f500997f2bf2fceb263acd (diff)
downloadopenssl-eec204f4b19f86e726aa09c5c919a57bdf2ee1d0.tar.gz
Make running individual ssl-test easier
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18407)
Diffstat (limited to 'test/README.ssltest.md')
-rw-r--r--test/README.ssltest.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/README.ssltest.md b/test/README.ssltest.md
index 81ee7dfdb8..85a6430799 100644
--- a/test/README.ssltest.md
+++ b/test/README.ssltest.md
@@ -283,3 +283,14 @@ of the generated `test/ssl-tests/*.cnf` correspond to expected outputs in with
the default Configure options. To run `ssl_test` manually from the command line
in a build with a different configuration, you may need to generate the right
`*.cnf` file from the `*.cnf.in` input first.
+
+Running a test manually via make
+--------------------------------
+
+Individual tests may be run by adding the SSL_TESTS variable to the `make`
+command line. The SSL_TESTS variable is set to the list of input (or ".in")
+files. The values in SSL_TESTS are globbed.
+
+ $ make test TESTS=test_ssl_new SSL_TESTS="0*.cnf.in"
+
+ $ make test TESTS=test_ssl_new SSL_TESTS="01-simple.cnf.in 05-sni.cnf.in"