X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Fplugins%2Fflt.lttng-utils.debug-info%2Ftest_succeed;h=76b299feea1f1308dc76cb9a2e53665f043d1a5f;hp=5338420cc12cd6c7434e6a603befe8c321c7460c;hb=8cca03c6f0678cf878a62ef7863cf6ec7b6dff2d;hpb=140f7e0206722316cea2f7bb2b96931665a207ef diff --git a/tests/plugins/flt.lttng-utils.debug-info/test_succeed b/tests/plugins/flt.lttng-utils.debug-info/test_succeed index 5338420c..76b299fe 100755 --- a/tests/plugins/flt.lttng-utils.debug-info/test_succeed +++ b/tests/plugins/flt.lttng-utils.debug-info/test_succeed @@ -39,6 +39,7 @@ this_dir_build="$BT_TESTS_BUILDDIR/$this_dir_relative" succeed_trace_dir="$BT_CTF_TRACES_PATH/succeed" expect_dir="$BT_TESTS_DATADIR/$this_dir_relative" binary_artefact_dir="$BT_TESTS_DATADIR/$this_dir_relative" +data_dir="$BT_TESTS_DATADIR/$this_dir_relative" test_debug_info() { local name="$1" @@ -101,10 +102,19 @@ test_compare_ctf_src_trace() { test_compare_to_ctf_fs "src.ctf.fs with $trace_name trace" "${cli_args[@]}" } -plan_tests 7 +test_compare_complete_src_trace() { + + local source_name="src.test_debug_info.CompleteSrc" + local cli_args=("--plugin-path=$data_dir" "-c" "$source_name") + test_compare_to_ctf_fs "$source_name" "${cli_args[@]}" +} + +plan_tests 9 test_debug_info debug-info test_compare_ctf_src_trace smalltrace test_compare_ctf_src_trace 2packets test_compare_ctf_src_trace session-rotation + +test_compare_complete_src_trace