]> git.ipfire.org Git - thirdparty/openssl.git/commit - .gitignore
TEST: Create test specific output directories
authorRichard Levitte <levitte@openssl.org>
Wed, 12 Feb 2020 19:22:42 +0000 (20:22 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 18 Feb 2020 08:45:51 +0000 (09:45 +0100)
commitf0790d4d2f92373f68f5b3097eb326505c937831
tree5fafe4d69ecb487848a6f8405435c08043f6719a
parent4e46a7afa843cea44ee81bf7d40d146029358879
TEST: Create test specific output directories

We had all tests run with test/test-runs/ as working directory, and
tests cleaned up after themselves...  which is well and good, until
you want to have a look at what went wrong when a complex test fails,
and you have to recreate everything it does manually.

To remedy this, we have OpenSSL::Test create the result directory
dynamically (and cleaning it up first if it's already there) and let
the test recipe have that as working directory.

Test recipes are now encouraged to name their diverse output files
uniquely, and not to clean them up, to allow a developer to have a
look at the files that were produced.

With continuous integration that allows this, the result directories
could also be archived and be left as a build artifact.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11080)
.gitignore
CHANGES
Configurations/descrip.mms.tmpl
Configurations/unix-Makefile.tmpl
Configurations/windows-makefile.tmpl
util/perl/OpenSSL/Test.pm