tests: normalize names of files and more
[babeltrace.git] / tests / ctf-writer / test-ctf-writer.sh
diff --git a/tests/ctf-writer/test-ctf-writer.sh b/tests/ctf-writer/test-ctf-writer.sh
new file mode 100755 (executable)
index 0000000..38a4192
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/bash
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Copyright (C) 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+#
+
+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"
+
+"${BT_TESTS_BUILDDIR}/ctf-writer/ctf-writer" "$BT_TESTS_BT2_BIN"
This page took 0.022845 seconds and 4 git commands to generate.