pcp
[Top] [All Lists]

pcp updates: python struct timeval fix & qa

To: pcp@xxxxxxxxxxx
Subject: pcp updates: python struct timeval fix & qa
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 17 Mar 2016 13:33:56 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
Given where we are at in the release cycle, the Python one should only be 
considereed for inclusion after some serious review and testing on other 
platforms (I've tried it on half a dozen so far without a problem, but more 
would be better).

Changes committed to git://git.pcp.io/kenj/pcp master

Ken McDonell (9):
      qa/555: improve grep pattern so you don't match yourself in psargs
      qa/common.check: add chkconfig wiring for additional controls
      configure & python pmapi wrapper changes: structs timeval and timespec
      qa/098: more diagnostics to help debugging
      qa/653: accommodate ps(1) variations in Mac OS X
      qa/798: more diagnostics to help debugging
      qa/842: more diagnostics to help debugging
      qa/956: accommodate ps(1) variations in Mac OS X
      qa/1062: fix botched (by me) _notrun guard

 configure                  |  172 +++
 configure.ac               |  163 +++
 qa/098                     |    8 
 qa/1062                    |    5 
 qa/555                     |    2 
 qa/653                     |    8 
 qa/798                     |    4 
 qa/842                     |   17 
 qa/956                     |    4 
 qa/common.check            |    3 
 src/python/pcp/.gitignore  |    1 
 src/python/pcp/pmapi.py.in | 2370 +++++++++++++++++++++++++++++++++++++++++++++
 12 files changed, 2736 insertions(+), 21 deletions(-)

Details ...

commit bfa07b476b67358420a346532a9250f612b3ba34
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Mar 17 13:21:32 2016 +1100

    qa/1062: fix botched (by me) _notrun guard

commit bb57ed9ff29d044a055baef76920350a24d967b6
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Mar 17 13:07:45 2016 +1100

    qa/956: accommodate ps(1) variations in Mac OS X

commit 1ccda2b619a19c3f2d081d0c954e64d6c4a48e54
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Mar 17 13:07:00 2016 +1100

    qa/842: more diagnostics to help debugging

commit 12c7a1198ea408d0c9de939446a6d680c8c64682
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Mar 17 13:06:17 2016 +1100

    qa/798: more diagnostics to help debugging

commit d60dea9ed3b159b3ed2af0a31559a0ab1d57f38c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Mar 17 13:05:19 2016 +1100

    qa/653: accommodate ps(1) variations in Mac OS X

commit 0a5ff5992fa9b38d6b2ae39d73bf5a078c124da7
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Mar 17 13:04:19 2016 +1100

    qa/098: more diagnostics to help debugging

commit 24de23a2ee39dc94f66699e8323642afaf1dbe78
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Mar 17 12:55:25 2016 +1100

    configure & python pmapi wrapper changes: structs timeval and timespec
    
    We cannot assume the type (size) of the fields of these structs
    will be the same across all platforms.
    
    Move to have the size determined by configure and then push these
    into the configuration of the wrapper code.
    
    This change makes QA 810, 842 and 859 all pass on Mac OS X (where
    tv_usec in struct timeval is c_int, not c_long).

commit 274520d8ce39991d75d83e4c4e66b649ab8a087a
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Mar 17 06:49:24 2016 +1100

    qa/common.check: add chkconfig wiring for additional controls
    
    For Darwin, add the missing cases for pmproxy, pmmgr and pmwebd.

commit 99761a1403a9d81ede361c922b830b5963e1d987
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Mar 17 06:37:33 2016 +1100

    qa/555: improve grep pattern so you don't match yourself in psargs
    
    An old trick, but a good one (thanks kre for showing me this one
    in 1978) ... replace grep '\[123]' by grep '[[]123]'

<Prev in Thread] Current Thread [Next in Thread>