aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-21 23:51:44 -0500
committerJack Lloyd <[email protected]>2016-11-23 08:31:09 -0500
commit28b38adb037719ba08691a4e8c6f59ea2e854760 (patch)
treee0761a1fe2dde2bd3b0fc2c42a9202da8cd171fd /src/tests/tests.h
parentb95652957cb12e890ac4a7f9000aa957edd70357 (diff)
Better OCSP tests including online tests
Tests touching network are gated by --run-online-tests flag.
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r--src/tests/tests.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h
index 236a89d6f..7d168be72 100644
--- a/src/tests/tests.h
+++ b/src/tests/tests.h
@@ -358,12 +358,14 @@ class Test
static void setup_tests(size_t soak,
bool log_succcss,
+ bool run_online_tests,
const std::string& data_dir,
const std::string& pkcs11_lib,
Botan::RandomNumberGenerator* rng);
static size_t soak_level();
static bool log_success();
+ static bool run_online_tests();
static std::string pkcs11_lib();
static const std::string& data_dir();
@@ -376,7 +378,7 @@ class Test
static std::string m_data_dir;
static Botan::RandomNumberGenerator* m_test_rng;
static size_t m_soak_level;
- static bool m_log_success;
+ static bool m_log_success, m_run_online_tests;
static std::string m_pkcs11_lib;
};