tests: use -z / -n to test for string empty / non-empty
[babeltrace.git] / tests / plugins / flt.lttng-utils.debug-info / test_dwarf_powerpc64le-linux-gnu
... / ...
CommitLineData
1#!/bin/bash
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
5# Copyright (C) 2015 Antoine Busque <abusque@efficios.com>
6# Copyright (C) 2019 Michael Jeanson <mjeanson@efficios.com>
7#
8
9if [ -n "${BT_TESTS_SRCDIR:-}" ]; then
10 UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh"
11else
12 UTILSSH="$(dirname "$0")/../../utils/utils.sh"
13fi
14
15# shellcheck source=../../utils/utils.sh
16source "$UTILSSH"
17
18this_dir_relative="plugins/flt.lttng-utils.debug-info"
19this_dir_build="$BT_TESTS_BUILDDIR/$this_dir_relative"
20debug_info_data="$BT_TESTS_DATADIR/$this_dir_relative/powerpc64le-linux-gnu"
21
22"$this_dir_build/test_dwarf" \
23 "$debug_info_data"
This page took 0.022793 seconds and 4 git commands to generate.