A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix parsing of options for testall.
[simgrid.git]
/
tools
/
sg_unit_extractor.pl
diff --git
a/tools/sg_unit_extractor.pl
b/tools/sg_unit_extractor.pl
index
0aa5faf
..
031329a
100755
(executable)
--- a/
tools/sg_unit_extractor.pl
+++ b/
tools/sg_unit_extractor.pl
@@
-148,11
+148,11
@@
int main(int argc, char *argv[]) {
strcat(selection, \",\");
strcat(selection, p);
}
strcat(selection, \",\");
strcat(selection, p);
}
- } else if (!str
ncmp(argv[i],\"--dump-only\",strlen(\"--dump-only\")
)||
-
!strncmp(argv[i],\"--dump\", strlen(\"--dump\")
)) {
+ } else if (!str
cmp(argv[i], \"--dump-only\"
)||
+
!strcmp(argv[i], \"--dump\"
)) {
xbt_test_dump(selection);
return 0;
xbt_test_dump(selection);
return 0;
- } else if (!str
ncmp(argv[i],\"--help\",strlen(\"--help\")
)) {
+ } else if (!str
cmp(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"