]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/cases/multilib.py: skip if needed packages are not available
authorChen Qi <Qi.Chen@windriver.com>
Fri, 1 Jun 2018 05:03:07 +0000 (13:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Jul 2018 09:40:34 +0000 (10:40 +0100)
commitcb80105bbd03d8d9cc10139ed6f39b193e79c1b8
treef5ced7ef7d5057ce741ce486d8571a44cb1f02e2
parent520c375d49df29453213c3cd4e2155e80e27a0ca
oeqa/runtime/cases/multilib.py: skip if needed packages are not available

1) The test cases use 'readelf' command to do the check. This command
   is from binutils. So skip the test if the needed binutils package is
   not installed.

   The related error message in log.do_testimage is like below.

     Output:  sh: readelf: not found

2) The test case tests /lib/libc.so.6 from lib32-libc6. So skip the test
   if lib32-libc6 is not installed.

   The related error message in log.do_testimage is like below.

     Output:   readelf: Error: 'lib/libc.so.6': No such file

(From OE-Core rev: eae929a5c224f5c3468d6a0466d1bbb3f678a5a1)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oeqa/runtime/cases/multilib.py