Fix: only skip analysis if in MI mode with --test-compatibility
authorAntoine Busque <abusque@efficios.com>
Tue, 26 Apr 2016 19:34:00 +0000 (15:34 -0400)
committerAntoine Busque <abusque@efficios.com>
Tue, 26 Apr 2016 19:34:00 +0000 (15:34 -0400)
Signed-off-by: Antoine Busque <abusque@efficios.com>
lttnganalyses/cli/command.py

index 7c3028bbe0c9e697cadea0fa0925aa8159767fad..3a5c86c2e0715e5029430d8565402959f1197362 100644 (file)
@@ -76,7 +76,7 @@ class Command:
         self._run_step('open trace', self._open_trace)
         self._run_step('create analysis', self._create_analysis)
 
-        if self._mi_mode and not self._args.test_compatibility:
+        if not self._mi_mode or not self._args.test_compatibility:
             self._run_step('run analysis', self._run_analysis)
 
         self._run_step('close trace', self._close_trace)
This page took 0.024025 seconds and 5 git commands to generate.