3 # SPDX-License-Identifier: GPL-2.0-only
5 # Copyright (C) 2020 Philippe Proulx <pproulx@efficios.com>
7 if [ -n "${BT_TESTS_SRCDIR:-}" ]; then
8 UTILSSH
="$BT_TESTS_SRCDIR/utils/utils.sh"
10 UTILSSH
="$(dirname "$0")/../../utils/utils.sh"
13 # shellcheck source=../../utils/utils.sh
17 export BT_TESTS_LIB_CONDS_TRIGGER_BIN
="$BT_TESTS_BUILDDIR/$reldir/conds-triggers"
19 if [ "$BT_TESTS_OS_TYPE" = "mingw" ]; then
20 BT_TESTS_LIB_CONDS_TRIGGER_BIN
="$BT_TESTS_LIB_CONDS_TRIGGER_BIN.exe"
23 run_python_bt2_test
"$BT_TESTS_SRCDIR/$reldir" test.py