Emilia Kasper | e364c3b | 2016-11-07 16:53:15 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. |
| 3 | * |
| 4 | * Licensed under the OpenSSL license (the "License"). You may not use |
| 5 | * this file except in compliance with the License. You can obtain a copy |
| 6 | * in the file LICENSE in the source distribution or at |
| 7 | * https://www.openssl.org/source/license.html |
| 8 | */ |
| 9 | |
| 10 | #ifndef HEADER_TEST_MAIN_CUSTOM_H |
| 11 | # define HEADER_TEST_MAIN_CUSTOM_H |
| 12 | |
| 13 | /* |
| 14 | * Unit tests that need a custom main() should implement test_main and link to |
| 15 | * test_main_custom.c |
| 16 | * test_main() should return the result of run_tests(). |
| 17 | */ |
| 18 | extern int test_main(int argc, char *argv[]); |
| 19 | |
| 20 | #endif /* HEADER_TEST_MAIN_CUSTOM_H */ |