From d0ed1dbd4f9e19cb43e7b4688d04e86e9ab1125c Mon Sep 17 00:00:00 2001 From: Kun Huang Date: Thu, 19 Nov 2015 18:10:05 +0800 Subject: [PATCH] test multiple result for one tracer Change-Id: Ibb619a267b2a3ba28a05b850673fb1b73aac8e4d --- devstack/plugin.sh | 2 +- tests/ci/scalpels-ci.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index a92e0b6..5f8dfb1 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -23,8 +23,8 @@ function init_scalpels { } function start_scalpels { - sca-manage setup -d /opt/stack/data/scalpels/scripts run_process scalpels "sca-agent" + $SCALPELS_DIR/tools/init_scalpels.sh } function stop_scalpels { diff --git a/tests/ci/scalpels-ci.sh b/tests/ci/scalpels-ci.sh index f26fa6c..622b1d8 100755 --- a/tests/ci/scalpels-ci.sh +++ b/tests/ci/scalpels-ci.sh @@ -38,6 +38,10 @@ function report_html_test { sca report --html > $BASE/logs/scalpels-report.html } +function get_rpc_result { + sca report -a rpc +} + function ubuntu_stap_test { scal_ci=$BASE/new/scalpels/tests/ci/ sudo stap -vv $scal_ci/pyfunc.stp -c "$DATA_DIR/cpython_build/bin/python $scal_ci/test-func.py" @@ -52,4 +56,5 @@ function stap_test { debug_msg basic_test report_html_test +get_rpc_result stap_test