[elbe-devel] [PATCH 2/5] test_xml: activate invocation of elbe check-build after a build test

Torben Hohn torben.hohn at linutronix.de
Thu Dec 17 14:32:13 CET 2020


the test is supposed to inspect the build result.
This had not been activated, because it was not ready.

It is now.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/tests/test_xml.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/elbepack/tests/test_xml.py b/elbepack/tests/test_xml.py
index fc3e18acb..30d57dc71 100644
--- a/elbepack/tests/test_xml.py
+++ b/elbepack/tests/test_xml.py
@@ -39,11 +39,9 @@ class TestSimpleXML(ElbeTestCase):
                            "grep %s | grep build_done || false" %
                            (elbe_exe, uuid))
 
-                # TODO:old - Uncomment this when elbe check-build is available
-                #
-                #for cmd in ("cdrom", "img", "sdk", "rebuild"):
-                #    with self.subTest(cmd=cmd):
-                #        system('%s check-build %s "%s"' % (elbe_exe, cmd, build_dir))
+                for cmd in ("cdrom", "img", "sdk", "rebuild"):
+                    with self.subTest(cmd=cmd):
+                        system('%s check-build %s "%s"' % (elbe_exe, cmd, build_dir))
 
             # pylint: disable=try-except-raise
             except:
-- 
2.20.1



More information about the elbe-devel mailing list