[elbe-devel] [PATCH 3/7] finetuning: fix <unit-tests> elbe_junit default

Torben Hohn torben.hohn at linutronix.de
Mon Sep 2 10:47:35 CEST 2019


elbe_junit is not a global variable. its a class member.
access it via self.elbe_junit.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/finetuning.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/finetuning.py b/elbepack/finetuning.py
index 18532dda3..86a42c14c 100644
--- a/elbepack/finetuning.py
+++ b/elbepack/finetuning.py
@@ -685,8 +685,8 @@ class TestSuites(FinetuningAction):
     def execute_prj(self, buildenv, target, builddir):
 
         tss = []
-        output = os.path.join(builddir, elbe_junit)
-        target.images.append(elbe_junit)
+        output = os.path.join(builddir, self.elbe_junit)
+        target.images.append(self.elbe_junit)
 
         for test_suite in self.node:
             ts = TestSuite(test_suite, target)
-- 
2.11.0




More information about the elbe-devel mailing list