blob: a314fdb6b86c06bb458de2b63dad516c41d4270f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/*
* (C) 2017 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#ifndef BOTAN_TEST_RUNNER_H_
#define BOTAN_TEST_RUNNER_H_
#include <iosfwd>
#include <string>
#include <vector>
namespace Botan_Tests {
class Test_Runner final
{
public:
Test_Runner(std::ostream& out);
int run(const std::vector<std::string>& requested_tests,
const std::string& data_dir,
const std::string& pkcs11_lib,
const std::string& provider,
bool log_success,
bool run_online_tests,
bool run_long_tests,
const std::string& drbg_seed,
size_t runs);
private:
std::ostream& output() const { return m_output; }
size_t run_tests(const std::vector<std::string>& tests_to_run,
size_t test_run,
const size_t tot_test_runs);
std::ostream& m_output;
};
}
#endif
|