X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Ftools%2Frunall.sh;fp=tests%2Ftools%2Frunall.sh;h=0000000000000000000000000000000000000000;hp=b2be91c6ca0282460f43b4e5c191692fcff8fa4d;hb=9ac429ef32142eaecfec2d1a44569464c4f8f721;hpb=785d2d0dc3aec3a4e44fcf677155dd07e8e4cc1f diff --git a/tests/tools/runall.sh b/tests/tools/runall.sh deleted file mode 100755 index b2be91c6c..000000000 --- a/tests/tools/runall.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -DIR=$(dirname $0) - -tests=( $DIR/test_kernel_data_trace $DIR/test_sessions $DIR/test_ust_data_trace \ - $DIR/streaming/runall $DIR/health/runall $DIR/filtering/runall) - -exit_code=0 - -function start_tests () -{ - for bin in ${tests[@]}; - do - if [ ! -e $bin ]; then - echo -e "$bin not found, passing" - continue - fi - - ./$bin - # Test must return 0 to pass. - if [ $? -ne 0 ]; then - exit_code=1 - break - fi - done -} - -start_tests - -exit $exit_code