X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fplugins%2Fflt.lttng-utils.debug-info%2Ftest-dwarf-i386-linux-gnu.sh;fp=tests%2Fplugins%2Fflt.lttng-utils.debug-info%2Ftest-dwarf-i386-linux-gnu.sh;h=fed378e02fdee16f0230d1bbafecd971c65e4769;hb=7132b8384f798e2d9d00fee07bba3a56b4ace039;hp=0000000000000000000000000000000000000000;hpb=2a3123c6d0b37ab5d5d935992fbca6408d1d4ee2;p=babeltrace.git diff --git a/tests/plugins/flt.lttng-utils.debug-info/test-dwarf-i386-linux-gnu.sh b/tests/plugins/flt.lttng-utils.debug-info/test-dwarf-i386-linux-gnu.sh new file mode 100755 index 00000000..fed378e0 --- /dev/null +++ b/tests/plugins/flt.lttng-utils.debug-info/test-dwarf-i386-linux-gnu.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-2.0-only +# +# Copyright (C) 2015 Antoine Busque +# Copyright (C) 2019 Michael Jeanson +# + +if [ -n "${BT_TESTS_SRCDIR:-}" ]; then + UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh" +else + UTILSSH="$(dirname "$0")/../../utils/utils.sh" +fi + +# shellcheck source=../../utils/utils.sh +source "$UTILSSH" + +this_dir_relative="plugins/flt.lttng-utils.debug-info" +this_dir_build="$BT_TESTS_BUILDDIR/$this_dir_relative" +debug_info_data="$BT_TESTS_DATADIR/$this_dir_relative/i386-linux-gnu" + +"$this_dir_build/test-dwarf" \ + "$debug_info_data"