Add lttng-modules detection for tests
[lttng-tools.git] / tests / lttng / runall.sh
CommitLineData
e3fa263d
DG
1#!/bin/bash
2
8e0dbb65 3tests=( lttng/run-kernel-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.023666 seconds and 4 git commands to generate.