20 app.add_option (
"--data-root-path,-d", m_dataRootPath,
"Data root path");
21 app.add_option (
"--tags,-t", m_tags,
"Test tags. Nut supported yet!");
22 app.add_option (
"--seed,-s", m_seed,
"Random seed")->default_val (0);
27 "Number of displayed decimal places for samples' linear values in test output"
33 "Number of displayed decimal places for values in decidels in test output"
39 "Number of displayed decimal places for values in seconds in test output"
45 "Number of displayed decimal places for values in hertz in test output"
51 "Number of displayed decimal places for values in radians in test output"
54 app.add_flag (
"--run-generators,-g", m_runGeneratorsNotTests,
"Run generators instead of tests");
55 app.add_flag (
"--shuffle", m_shuffle,
"Shuffle task order. Obeys --seed value.");
82 CLI::App app {
"HART" };
84 std::string m_dataRootPath =
".";
85 std::string m_tags =
"";
86 uint_fast32_t m_seed = 0;
87 bool m_runGeneratorsNotTests =
false;
88 bool m_shuffle =
false;
90 int m_linDecimals = 0;
92 int m_secDecimals = 0;
94 int m_radDecimals = 0;
96 CLIConfig() =
default;
uint_fast32_t getRandomSeed()
std::string getDataRootPath()
void initCommandLineArgs()
bool shouldRunGenerators()
bool shouldShuffleTasks()
static CLIConfig & getInstance()