Commit c5657cb7 authored by Richard Levitte's avatar Richard Levitte
Browse files

testutil: make subtest_level() internal

parent 579d0fab
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -359,5 +359,4 @@ void test_info_c90(const char *desc, ...) PRINTF_FORMAT(1, 2);
extern BIO *bio_out;
extern BIO *bio_err;

int subtest_level(void);
#endif                          /* HEADER_TESTUTIL_H */
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@

#include "../testutil.h"
#include "output.h"
#include "tu_local.h"

#include <string.h>
#include <assert.h>
+1 −2
Original line number Diff line number Diff line
@@ -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;
+10 −0
Original line number Diff line number Diff line
/*
 * 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);