summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
49e717c)
Options such as --helpless or --dumpfoobar were wrongly treated as synonyms
for --help or --dump.
strcat(selection, \",\");
strcat(selection, p);
}
strcat(selection, \",\");
strcat(selection, p);
}
- } else if (!strncmp(argv[i],\"--dump-only\",strlen(\"--dump-only\"))||
- !strncmp(argv[i],\"--dump\", strlen(\"--dump\"))) {
+ } else if (!strcmp(argv[i], \"--dump-only\")||
+ !strcmp(argv[i], \"--dump\")) {
xbt_test_dump(selection);
return 0;
xbt_test_dump(selection);
return 0;
- } else if (!strncmp(argv[i],\"--help\",strlen(\"--help\"))) {
+ } else if (!strcmp(argv[i], \"--help\")) {
printf(
"Usage: testall [--help] [--tests=selection] [--dump-only]\\n\\n"
"--help: display this help\\n"
printf(
"Usage: testall [--help] [--tests=selection] [--dump-only]\\n\\n"
"--help: display this help\\n"