Put `flt.lttng-utils.debug-info` tests into their own directory
[babeltrace.git] / tests / plugins / flt.lttng-utils.debug-info / test_bin_info_i386-linux-gnu.in
1 #!/bin/bash
2 #
3 # Copyright (C) 2015 Antoine Busque <abusque@efficios.com>
4 # Copyright (C) 2019 Michael Jeanson <mjeanson@efficios.com>
5 #
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; only version 2
9 # of the License.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 #
20
21 NO_SH_TAP=1
22 . "@abs_top_builddir@/tests/utils/common.sh"
23
24 curdir="$(cd -P "$(dirname "$0")" >/dev/null && pwd)"
25
26 debug_info_data="${BT_SRC_PATH}/tests/debug-info-data/i386-linux-gnu"
27
28 "${curdir}/test_bin_info" \
29 --foo-addr=0x1c8d \
30 --printf-offset=0xda \
31 --printf-lineno=36 \
32 --tp-offset=0x12 \
33 --tp-lineno=35 \
34 --debug-link-crc=0xdeead493 \
35 --debug-info-dir "$debug_info_data" \
36 --build-id cdd98cdd87f7fe64c13b6daad553987eafd40cbb
This page took 0.030156 seconds and 4 git commands to generate.