summaryrefslogtreecommitdiffstats
path: root/test/README
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-04-18 16:27:27 +0200
committerRichard Levitte <levitte@openssl.org>2017-04-24 18:09:01 +0200
commit4db40c94c38ee94fbef820a9816ac2d68f65506e (patch)
tree61f46c8c54d73f877631c108f605beb599f493aa /test/README
parent20626cfd5870e80838010cddf99dd6297eceaa26 (diff)
Refactor the test framework testutil
It's now built as a static library, and greatly simplified for test programs, which no longer need to include test_main_custom.h or test_main.h and link with the corresponding object files. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3243)
Diffstat (limited to 'test/README')
-rw-r--r--test/README5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/README b/test/README
index 7831c860f5..fc9f7d03b1 100644
--- a/test/README
+++ b/test/README
@@ -99,14 +99,13 @@ test):
to modify the include paths and source files if you don't want to use the
basic test framework:
- SOURCE[{name}]={name}.c testutil.c test_main.c
+ SOURCE[{name}]={name}.c
INCLUDE[{name}]=.. ../include
- DEPEND[{name}]=../libcrypto
+ DEPEND[{name}]=../libcrypto libtestutil.a
Generic form of C test executables
==================================
- #include "test_main.h"
#include "testutil.h"
static int my_test(void)