tests: use -z / -n to test for string empty / non-empty
[babeltrace.git] / tests / python-plugin-provider / test_python_plugin_provider
CommitLineData
03f007c8 1#!/bin/bash
cbb9e0b1 2#
0235b0db 3# SPDX-License-Identifier: GPL-2.0-only
cbb9e0b1 4#
0235b0db 5# Copyright (C) 2017 Philippe Proulx <pproulx@efficios.com>
cbb9e0b1
PP
6#
7
75e396f6 8if [ -n "${BT_TESTS_SRCDIR:-}" ]; then
644e0364
MJ
9 UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh"
10else
11 UTILSSH="$(dirname "$0")/../utils/utils.sh"
12fi
cbb9e0b1 13
644e0364
MJ
14# shellcheck source=../utils/utils.sh
15source "$UTILSSH"
03f007c8 16
644e0364 17export PYTHON_PLUGIN_PROVIDER_TEST_PLUGIN_PATH="${BT_TESTS_SRCDIR}/python-plugin-provider/bt_plugin_test_python_plugin_provider.py"
03f007c8 18
644e0364
MJ
19run_python_bt2_test \
20 "${BT_TESTS_SRCDIR}/python-plugin-provider" \
0408934a 21 test_python_plugin_provider.py
This page took 0.06503 seconds and 4 git commands to generate.