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

Bastian Germann bage at linutronix.de
Fri Jan 8 11:59:05 CET 2021


Am 17.12.20 um 14:32 schrieb Torben Hohn:
> 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>

Reviewed-by: Bastian Germann <bage 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:
> 


More information about the elbe-devel mailing list