aboutsummaryrefslogtreecommitdiff
path: root/test/testutil/test_options.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testutil/test_options.c')
-rw-r--r--test/testutil/test_options.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/testutil/test_options.c b/test/testutil/test_options.c
new file mode 100644
index 000000000000..51d880399bf2
--- /dev/null
+++ b/test/testutil/test_options.c
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2018-2020 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (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
+ */
+
+#include "../testutil.h"
+#include "tu_local.h"
+
+/* An overridable list of command line options */
+const OPTIONS *test_get_options(void)
+{
+ static const OPTIONS default_options[] = {
+ OPT_TEST_OPTIONS_DEFAULT_USAGE,
+ { NULL }
+ };
+ return default_options;
+}