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