3 # Basic live mode validation of the Python pmcc module
4 # (pmcc -> Performance Metrics Convenience Classes)
6 # Copyright (c) 2014 Red Hat.
10 echo "QA output created by $seq"
14 status
=1 # failure is the default!
15 $sudo rm -rf $tmp.
* $seq.full
16 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
18 $python -c "from pcp import pmcc" >/dev
/null
2>&1
19 [ $?
-eq 0 ] || _notrun
"python pcp pmcc module not installed"
21 # real QA test starts here
22 $python $here/src
/test_pmcc.py
-t 0.1 -s 2 >$seq.full
2>&1
23 _check_unittest live
$seq.full