SuccessChanges

Summary

  1. utils: allow flags to be passed as strings on the command-line (details)
  2. utils/test: check stringified flags in lstopo tests (details)
  3. utils: check that all flags are handled in stringified parsing (details)
  4. utils/flags: force end-matching with $ at the end of flags (details)
  5. utils/flags: don't use strtok (details)
Commit b49719b30e03d38bbf07bbd17a8722d94049037c by brice.goglin
utils: allow flags to be passed as strings on the command-line
All --*flags arguments can now be written as "foo,bar" instead of 5.
"foo" must be case-insensitive substring of existing flag names
(we error-out in case of multiple matches).
strcasestr doesn't seem very easy to get on windows, so we use
toupper()+strstr() instead.
Signed-off-by: Valentin Hoyet <valentin.hoyet@inria.fr>
The file was modifiedutils/lstopo/lstopo-no-graphics.1in (diff)
The file was modifiedNEWS (diff)
The file was modifiedutils/hwloc/misc.h (diff)
The file was modifiedutils/hwloc/hwloc-annotate.c (diff)
The file was modifiedutils/lstopo/lstopo.c (diff)
Commit 9839d0349e7a81b9890e4275d0c84e8b6f52ea8c by brice.goglin
utils/test: check stringified flags in lstopo tests
Signed-off-by: Valentin Hoyet <valentin.hoyet@inria.fr>
The file was modifiedutils/lstopo/test-lstopo.output (diff)
The file was modifiedutils/lstopo/test-lstopo.sh.in (diff)
Commit 6d7085cb5f3d45dbed4d876d4e47e2ff829adc26 by brice.goglin
utils: check that all flags are handled in stringified parsing
Signed-off-by: Valentin Hoyet <valentin.hoyet@inria.fr>
The file was modifiedconfig/hwloc_internal.m4 (diff)
The file was addedutils/hwloc/test-parsing-flags.sh.in
The file was modifiedutils/hwloc/Makefile.am (diff)
Commit 2256f35b9bf5c3686322a0cafcc8d7022b69eadd by brice.goglin
utils/flags: force end-matching with $ at the end of flags
useful for disambiguating between distances_add flags
(one has its name included in the other)
Signed-off-by: Valentin Hoyet <valentin.hoyet@inria.fr> Signed-off-by:
Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedutils/hwloc/test-hwloc-annotate.sh.in (diff)
The file was modifiedutils/hwloc/misc.h (diff)
The file was modifiedutils/lstopo/test-lstopo.output (diff)
The file was modifiedutils/lstopo/test-lstopo.sh.in (diff)
Commit 1746e1d1241264072b3f46aff024c1dc42d0c042 by brice.goglin
utils/flags: don't use strtok
Our parsing is very simple, strcpsn is enough
(strsep isn't available on windows).
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedutils/hwloc/misc.h (diff)