22 vout.
general(
" (without args) -- run tests interactively.\n");
23 vout.
general(
" test_names -- run specified tests.\n");
25 vout.
general(
" -l | --list -- list registered tests.\n");
26 vout.
general(
" -h | --help -- show this message.\n");
36 #ifdef USE_TESTMANAGER_AUTOREGISTER
48 const std::string arg1 = argv[1];
50 if ((arg1 ==
"-a") || (arg1 ==
"--all")) {
52 }
else if ((arg1 ==
"-l") || (arg1 ==
"--list")) {
54 }
else if ((arg1 ==
"-h") || (arg1 ==
"--help")) {
void testmanager_usage(const char *prog)
TestManager class for managing and performing tests.
void general(const char *format,...)
void batch_recursive(const std::string &arg="")
int run_testmanager(int argc, char **argv)
static TestManager & Instance()