# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-CTFPARSERTEST="@abs_top_builddir@/formats/ctf/metadata/ctf-parser-test"
-BTBIN="@abs_top_builddir@/converter/babeltrace"
+NO_SH_TAP=1
+. "@abs_top_builddir@/tests/utils/common.sh"
-"@abs_top_builddir@/tests/lib/test_ctf_writer" "$CTFPARSERTEST" "$BTBIN"
+curdir="$(cd -P "$(dirname "$0")" >/dev/null && pwd)"
+
+"${curdir}/test_ctf_writer" "$BT_BIN"