tests: use -z / -n to test for string empty / non-empty
[babeltrace.git] / tests / plugins / sink.text.pretty / test_pretty_python
CommitLineData
440ffe59
SM
1#!/bin/bash
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
5# Copyright (C) 2017 Philippe Proulx <pproulx@efficios.com>
6#
7
75e396f6 8if [ -n "${BT_TESTS_SRCDIR:-}" ]; then
440ffe59
SM
9 UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh"
10else
11 UTILSSH="$(dirname "$0")/../../utils/utils.sh"
12fi
13
14# shellcheck source=../../utils/utils.sh
15source "$UTILSSH"
16
17run_python_bt2_test "${BT_TESTS_SRCDIR}/plugins/sink.text.pretty" "test_*"
This page took 0.028511 seconds and 4 git commands to generate.