Commit 6ec327ee authored by Emilia Kasper's avatar Emilia Kasper
Browse files

testutil: always print errors on failure

parent 7b195438
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -66,7 +66,6 @@ static int execute_tbl_standard(SIMPLE_FIXTURE fixture)

static void teardown_tbl_standard(SIMPLE_FIXTURE fixture)
{
    ERR_print_errors_fp(stderr);
}

/**********************************************************************
@@ -116,7 +115,6 @@ static int execute_standard_methods(SIMPLE_FIXTURE fixture)

static void teardown_standard_methods(SIMPLE_FIXTURE fixture)
{
    ERR_print_errors_fp(stderr);
}

/**********************************************************************
+0 −1
Original line number Diff line number Diff line
@@ -167,7 +167,6 @@ static void tear_down(CIPHERLIST_TEST_FIXTURE fixture)
{
    SSL_CTX_free(fixture.server);
    SSL_CTX_free(fixture.client);
    ERR_print_errors_fp(stderr);
}

#define SETUP_CIPHERLIST_TEST_FIXTURE() \
+0 −1
Original line number Diff line number Diff line
@@ -88,7 +88,6 @@ static void tear_down(CT_TEST_FIXTURE fixture)
{
    CTLOG_STORE_free(fixture.ctlog_store);
    SCT_LIST_free(fixture.sct_list);
    ERR_print_errors_fp(stderr);
}

static char *mk_file_path(const char *dir, const char *file)
+0 −1
Original line number Diff line number Diff line
@@ -118,7 +118,6 @@ static int execute_test(D2I_TEST_FIXTURE fixture)

static void tear_down(D2I_TEST_FIXTURE fixture)
{
    ERR_print_errors_fp(stderr);
}

#define SETUP_D2I_TEST_FIXTURE() \
+0 −2
Original line number Diff line number Diff line
@@ -155,7 +155,6 @@ static int dummy_handshake(SSL *s)

static void tear_down(HEARTBEAT_TEST_FIXTURE fixture)
{
    ERR_print_errors_fp(stderr);
    SSL_free(fixture.s);
    SSL_CTX_free(fixture.ctx);
}
@@ -365,7 +364,6 @@ int main(int argc, char *argv[])
    ADD_TEST(test_dtls1_heartbleed_excessive_plaintext_length);

    result = run_tests(argv[0]);
    ERR_print_errors_fp(stderr);
    return result;
}

Loading