Add wildcard test to UST
[lttng-tools.git] / tests / ust / runall.sh
CommitLineData
e3fa263d
DG
1#!/bin/bash
2
355f483d
DG
3DIR=$(dirname $0)
4
51c96b7d 5tests=( $DIR/run-ust-global-tests.sh $DIR/nprocesses/run \
b19155c0 6 $DIR/high-throughput/run $DIR/before-after/run )
4d5b973e
DG
7
8# $DIR/low-throughput/run --> DEACTIVATED.
9# Use only for release. This test last 20 minutes
10
e3fa263d
DG
11exit_code=0
12
13function start_tests ()
14{
15 for bin in ${tests[@]};
16 do
8e0dbb65 17 ./$bin
e3fa263d
DG
18 # Test must return 0 to pass.
19 if [ $? -ne 0 ]; then
20 exit_code=1
21 break
22 fi
23 done
24}
25
e3fa263d
DG
26start_tests
27
e3fa263d 28exit $exit_code
This page took 0.025011 seconds and 4 git commands to generate.