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