Improve tests and change tests/ directory layout
[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 )
6exit_code=0
7
8function start_tests ()
9{
10 for bin in ${tests[@]};
11 do
12 ./$bin
13 # Test must return 0 to pass.
14 if [ $? -ne 0 ]; then
15 exit_code=1
16 break
17 fi
18 done
19}
20
21start_tests
22
23exit $exit_code
This page took 0.022664 seconds and 4 git commands to generate.