diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-04-17 17:40:40 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-05-08 14:25:53 +0800 |
commit | f1ca479add9327f778d45b3685a46be757e43ef8 (patch) | |
tree | 8bb1345ac5d7724f8837fd8914da78c1c0ce448f /reporting/docker | |
parent | 2754e19e72487793f1e381147768cf122d399b7b (diff) |
add qtip reporting
Change-Id: Ie573486080fbd36857ff0709d53f6bdcdd43363e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'reporting/docker')
-rwxr-xr-x | reporting/docker/reporting.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/reporting/docker/reporting.sh b/reporting/docker/reporting.sh index 1de13ae..7f5b005 100755 --- a/reporting/docker/reporting.sh +++ b/reporting/docker/reporting.sh @@ -32,6 +32,22 @@ cp -Rf js display # yardstick | # storperf | +function report_project() +{ + project=$1 + dir=$2 + type=$3 + echo "********************************" + echo " $project reporting " + echo "********************************" + python ./$dir/reporting-$type.py + if [ $? ]; then + echo "$project reporting $type...OK" + else + echo "$project reporting $type...KO" + fi +} + if [ -z "$1" ]; then echo "********************************" echo " Functest reporting " @@ -60,6 +76,8 @@ if [ -z "$1" ]; then python ./storperf/reporting-status.py echo "Storperf reporting status...OK" + report_project "QTIP" "qtip" "status" + else if [ -z "$2" ]; then reporting_type="status" |