Fix memory leak in create command
[lttng-tools.git] / tests / lttng / runall.sh
CommitLineData
e3fa263d
DG
1#!/bin/bash
2
69c0b621 3tests=( lttng/run-kernel-tests.sh lttng/run-ust-global-tests.sh )
e3fa263d
DG
4exit_code=0
5
6function start_tests ()
7{
8 for bin in ${tests[@]};
9 do
8e0dbb65 10 ./$bin
e3fa263d
DG
11 # Test must return 0 to pass.
12 if [ $? -ne 0 ]; then
13 exit_code=1
14 break
15 fi
16 done
17}
18
e3fa263d
DG
19start_tests
20
e3fa263d 21exit $exit_code
This page took 0.024392 seconds and 4 git commands to generate.