]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/core/decorator/data.py: fix skipIfNotInDataVar
authorChen Qi <Qi.Chen@windriver.com>
Fri, 1 Jun 2018 05:03:05 +0000 (13:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Jul 2018 09:40:34 +0000 (10:40 +0100)
commitea84439d42b578237d03d876992511eec73c5511
tree8fda2950fb0a1363b465b080f555ecf789abb57e
parent43f62481f40fdd1399e468d7fbeb93793e19f9a9
oeqa/core/decorator/data.py: fix skipIfNotInDataVar

The var might not be set, resulting in unexpected error.

  RESULTS - multilib.MultilibTest.test_check_multilib_libc - Testcase 1593: ERROR

The above error is due to MULTILIBS being not set, which is the default
for OE. This patch fixes this problem.

Also, the debugging message in skipIfNotInDataVar is currently confusing.
Instead of
DEBUG: Checking if 'MULTILIBS' value is in 'multilib:lib32' to run the test
it should be
DEBUG: Checking if 'MULTILIBS' value contains 'multilib:lib32' to run the test

This patch also fixes it.

(From OE-Core rev: 3f5c678664a2bba43d99508779dc2ce227cf52a2)

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/core/decorator/data.py