aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-31 10:10:38 -0400
committerJack Lloyd <[email protected]>2018-03-31 10:10:38 -0400
commit07f70fafc38ef0956d4cd9176d6f8c578aedd07e (patch)
tree342b35c5392ceecb6f2d765958b32e2b1a63543d /src/tests/tests.h
parentbdf71b1f83e227f104f39fcf472ebaa155d98cf1 (diff)
Add --avoid-undefined option
GH #1518
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r--src/tests/tests.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h
index fd7daca17..ea5be0a95 100644
--- a/src/tests/tests.h
+++ b/src/tests/tests.h
@@ -409,12 +409,14 @@ class Test
bool run_online_tests,
bool run_long_tests,
bool abort_on_first_fail,
+ bool avoid_undefined,
const std::string& data_dir,
const std::string& pkcs11_lib,
const Botan_Tests::Provider_Filter& pf);
static void set_test_rng(std::unique_ptr<Botan::RandomNumberGenerator> rng);
+ static bool avoid_undefined_behavior();
static bool log_success();
static bool run_online_tests();
static bool run_long_tests();
@@ -437,6 +439,7 @@ class Test
static bool m_run_online_tests;
static bool m_run_long_tests;
static bool m_abort_on_first_fail;
+ static bool m_avoid_undefined;
static std::string m_pkcs11_lib;
static Botan_Tests::Provider_Filter m_provider_filter;
};