Use objdump instead of lddtree
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 7 Dec 2017 15:22:56 +0000 (10:22 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 14 Dec 2017 20:24:28 +0000 (15:24 -0500)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
lttng_ivc/tests/ust_app_tools_update/test_ust_app_vs_ust_tools.py

index 03391b7efecbae2019d98ff4ee0ab998303c2fb1..8bfa2b5190249fd4050f4fc1a983a6d857250f54 100644 (file)
@@ -115,8 +115,8 @@ def test_ust_app_tools_update_tracing_available(tmpdir, ust_label, tools_label,
         cmd = './app {}'.format(nb_events)
         runtime_tools.run(cmd, cwd=app_path)
 
-        runtime_tools.run("lddtree ./app", cwd=app_path)
-        runtime_app.run("lddtree ./app", cwd=app_path)
+        runtime_tools.run("objdump -p ./app", cwd=app_path)
+        runtime_app.run("objdump -p ./app", cwd=app_path)
 
         # Stop tracing
         runtime_tools.run('lttng stop')
@@ -125,9 +125,8 @@ def test_ust_app_tools_update_tracing_available(tmpdir, ust_label, tools_label,
         if cp.returncode != 0:
             pytest.fail("Sessiond return code")
 
-
         cmd = 'babeltrace {}'.format(trace_path)
-        if success :
+        if success:
             cp_process, cp_out, cp_err = runtime_tools.run(cmd)
             assert(utils.line_count(cp_out) == nb_events)
         else:
This page took 0.025267 seconds and 5 git commands to generate.