/*
- * Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2014-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
void test_info_c90(const char *desc, ...) PRINTF_FORMAT(1, 2);
void test_note(const char *desc, ...) PRINTF_FORMAT(1, 2);
void test_openssl_errors(void);
+void test_perror(const char *s);
/*
* The following macros provide wrapper calls to the test functions with
# endif
# define TEST_note test_note
# define TEST_openssl_errors test_openssl_errors
-
-/*
- * For "impossible" conditions such as malloc failures or bugs in test code,
- * where continuing the test would be meaningless. Note that OPENSSL_assert
- * is fatal, and is never compiled out.
- */
-# define TEST_check(condition) \
- do { \
- if (!(condition)) { \
- TEST_openssl_errors(); \
- OPENSSL_assert(!#condition); \
- } \
- } while (0)
+# define TEST_perror test_perror
extern BIO *bio_out;
extern BIO *bio_err;