diff options
author | Richard Levitte <levitte@openssl.org> | 2017-04-28 14:42:46 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-04-28 15:59:46 +0200 |
commit | c5657cb71011eb2471f6d70e558919d3da561f39 (patch) | |
tree | 5caf131059dcf09158645e5b54ed6d1ef80d5513 /test/testutil | |
parent | 579d0fabcddb4a0ec4307be420f0bc7c2eea6b7c (diff) | |
download | openssl-c5657cb71011eb2471f6d70e558919d3da561f39.tar.gz |
testutil: make subtest_level() internal
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3345)
Diffstat (limited to 'test/testutil')
-rw-r--r-- | test/testutil/driver.c | 1 | ||||
-rw-r--r-- | test/testutil/tests.c | 3 | ||||
-rw-r--r-- | test/testutil/tu_local.h | 10 |
3 files changed, 12 insertions, 2 deletions
diff --git a/test/testutil/driver.c b/test/testutil/driver.c index 7914ea5201..b0bd3e079a 100644 --- a/test/testutil/driver.c +++ b/test/testutil/driver.c @@ -9,6 +9,7 @@ #include "../testutil.h" #include "output.h" +#include "tu_local.h" #include <string.h> #include <assert.h> diff --git a/test/testutil/tests.c b/test/testutil/tests.c index b7f5bfb2a1..cb6a3bb688 100644 --- a/test/testutil/tests.c +++ b/test/testutil/tests.c @@ -9,6 +9,7 @@ #include "../testutil.h" #include "output.h" +#include "tu_local.h" #include <string.h> #include "../../e_os.h" @@ -44,8 +45,6 @@ static void test_fail_message(const char *prefix, const char *file, int line, const char *type, const char *fmt, ...) PRINTF_FORMAT(5, 6); -int subtest_level(void); - static void helper_printf_stderr(const char *fmt, ...) { va_list ap; diff --git a/test/testutil/tu_local.h b/test/testutil/tu_local.h new file mode 100644 index 0000000000..620fccd278 --- /dev/null +++ b/test/testutil/tu_local.h @@ -0,0 +1,10 @@ +/* + * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + +int subtest_level(void); |