tests/lib: pass C++ wrapper types to `RunIn` callbacks
[babeltrace.git] / tests / lib / conds / test-conds.sh
CommitLineData
5d7e8359
PP
1#!/bin/bash
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
5# Copyright (C) 2020 Philippe Proulx <pproulx@efficios.com>
6
75e396f6 7if [ -n "${BT_TESTS_SRCDIR:-}" ]; then
5d7e8359
PP
8 UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh"
9else
10 UTILSSH="$(dirname "$0")/../../utils/utils.sh"
11fi
12
13# shellcheck source=../../utils/utils.sh
14source "$UTILSSH"
15
16reldir=lib/conds
17export BT_TESTS_LIB_CONDS_TRIGGER_BIN="$BT_TESTS_BUILDDIR/$reldir/conds-triggers"
18
a0baab4a 19if [ "$BT_TESTS_OS_TYPE" = "mingw" ]; then
5d7e8359
PP
20 BT_TESTS_LIB_CONDS_TRIGGER_BIN="$BT_TESTS_LIB_CONDS_TRIGGER_BIN.exe"
21fi
22
c3ca8136 23bt_run_py_test "$BT_TESTS_SRCDIR/$reldir" test.py
This page took 0.059586 seconds and 4 git commands to generate.