Commit | Line | Data |
---|---|---|
5d30f567 MJ |
1 | #!/bin/bash |
2 | # | |
0235b0db MJ |
3 | # SPDX-License-Identifier: GPL-2.0-only |
4 | # | |
5d30f567 MJ |
5 | # Copyright (C) 2015 Antoine Busque <abusque@efficios.com> |
6 | # Copyright (C) 2019 Michael Jeanson <mjeanson@efficios.com> | |
7 | # | |
5d30f567 | 8 | |
644e0364 MJ |
9 | if [ "x${BT_TESTS_SRCDIR:-}" != "x" ]; then |
10 | UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh" | |
11 | else | |
12 | UTILSSH="$(dirname "$0")/../../utils/utils.sh" | |
13 | fi | |
5d30f567 | 14 | |
644e0364 MJ |
15 | # shellcheck source=../../utils/utils.sh |
16 | source "$UTILSSH" | |
5d30f567 | 17 | |
d3765576 FD |
18 | this_dir_relative="plugins/flt.lttng-utils.debug-info" |
19 | this_dir_build="$BT_TESTS_BUILDDIR/$this_dir_relative" | |
20 | debug_info_data="$BT_TESTS_DATADIR/$this_dir_relative/x86_64-linux-gnu" | |
21 | ||
22 | "$this_dir_build/test_dwarf" \ | |
23 | "$debug_info_data/" |