24int main(
int argc,
char* argv[]) {
32 signal(SIGPIPE, SIG_IGN);
34 const char* name = NULL;
35 const char* outDir = NULL;
37 bool listOnly =
false;
39 for (
int i = 1; i < argc; i++) {
40 const char* a = argv[i];
41 if (strncmp(a,
"test=", 5) == 0) name = a + 5;
42 else if (strncmp(a,
"out=", 4) == 0) outDir = a + 4;
43 else if (
stricmp(a,
"verbose") == 0) verbose =
true;
44 else if (
stricmp(a,
"list") == 0) listOnly =
true;
52 bool forkPerTest = (name == NULL);
53 bool ok =
RunCMSDKTests(name, NULL, NULL, outDir, verbose, listOnly, forkPerTest);
bool RunCMSDKTests(const char *name, const char *compareFile, const char *outFile, const char *outDir, bool verbose, bool listOnly, bool forkPerTest=true)
Full configurable entry used by the Psyclone test= dispatch.