Changes committed to git://git.performancecopilot.org/pcp.git dev
qa/728.out |binary
qa/899 | 97 ++++++++++++++++
qa/899.out | 279 ++++++++++++++++++++++++++++++++++++++++++++++++
qa/978 | 14 ++
qa/978.out | 8 +
qa/group | 12 +-
qa/src/getoptions.c | 9 +
src/include/pcp/impl.h | 1
src/include/pcp/pmapi.h | 11 +
src/libpcp/src/exports | 1
src/libpcp/src/getopt.c | 128 +++++++++++++++++++++-
src/pmgetopt/pmgetopt.c | 11 +
src/python/pcp/pmapi.py | 21 +++
src/python/pmapi.c | 84 ++++++++++++++
14 files changed, 667 insertions(+), 9 deletions(-)
commit 7619d51b43eeabb2a9f6d052565b621b02c9f39b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jun 24 14:01:49 2014 +1000
Add archive folio parsing mechanism into option handling code
After recent discussion with Stan about the needs of python tools
that read and write archive folios, this commit adds a mechanism
for automatically opening a folio and setting up struct pmOptions
with the archive(s) it contains. While there, the exising host
and archive list mechanisms are tested further, and added to the
automatically available set (as long options only to not conflict
on existing short option characters).
Extensions are made to the pmgetopt shell utility to access this
functionality, and the python wrapper APIs. A new qa/899 test is
tossed into the mix, and other existing tests are updated to make
sure we have decent functional coverage. Also, a new QA group is
added to make it easier to run all the getopts tests at once.
|