VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.4/test/testutil/main.c@ 103050

最後變更 在這個檔案從103050是 102863,由 vboxsync 提交於 10 月 前

openssl-3.1.4: Applied and adjusted our OpenSSL changes to 3.1.3. bugref:10577

檔案大小: 988 位元組
 
1/*
2 * Copyright 2016-2023 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (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#include "../testutil.h"
11#include "output.h"
12#include "tu_local.h"
13
14
15int main(int argc, char *argv[])
16{
17 int ret = EXIT_FAILURE;
18 int setup_res;
19
20 test_open_streams();
21
22 if (!global_init()) {
23 test_printf_stderr("Global init failed - aborting\n");
24 return ret;
25 }
26
27 if (!setup_test_framework(argc, argv))
28 goto end;
29
30 if ((setup_res = setup_tests()) > 0) {
31 ret = run_tests(argv[0]);
32 cleanup_tests();
33 opt_check_usage();
34 } else if (setup_res == 0) {
35 opt_help(test_get_options());
36 }
37end:
38 ret = pulldown_test_framework(ret);
39 test_close_streams();
40 return ret;
41}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette