test multiple result for one tracer

Change-Id: Ibb619a267b2a3ba28a05b850673fb1b73aac8e4d
This commit is contained in:
Kun Huang 2015-11-19 18:10:05 +08:00
parent 03ce2e4901
commit d0ed1dbd4f
2 changed files with 6 additions and 1 deletions

View File

@ -23,8 +23,8 @@ function init_scalpels {
} }
function start_scalpels { function start_scalpels {
sca-manage setup -d /opt/stack/data/scalpels/scripts
run_process scalpels "sca-agent" run_process scalpels "sca-agent"
$SCALPELS_DIR/tools/init_scalpels.sh
} }
function stop_scalpels { function stop_scalpels {

View File

@ -38,6 +38,10 @@ function report_html_test {
sca report --html > $BASE/logs/scalpels-report.html sca report --html > $BASE/logs/scalpels-report.html
} }
function get_rpc_result {
sca report -a rpc
}
function ubuntu_stap_test { function ubuntu_stap_test {
scal_ci=$BASE/new/scalpels/tests/ci/ 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" 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 debug_msg
basic_test basic_test
report_html_test report_html_test
get_rpc_result
stap_test stap_test