]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/cases: Improve test dependency information
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Nov 2018 19:55:17 +0000 (19:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Nov 2018 15:18:28 +0000 (15:18 +0000)
commit60d6580b85714b8960a964e775d76a7f937f5e5a
treed7f4108da77d8cc3d1a925d92c3badac94ab728c
parentc3b96aaa40413d66d8fc4252235e6fa27dd8db53
oeqa/runtime/cases: Improve test dependency information

Add the OEHasPackage decorator to a variety of tests so they determine
automatically if they should run against a given image.

To ensure tests can do this we need to move target operations such
as scp commands into the tests and out of the class startup/teardown.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/date.py
meta/lib/oeqa/runtime/cases/df.py
meta/lib/oeqa/runtime/cases/opkg.py
meta/lib/oeqa/runtime/cases/ptest.py
meta/lib/oeqa/runtime/cases/python.py
meta/lib/oeqa/runtime/cases/rpm.py
meta/lib/oeqa/runtime/cases/scp.py
meta/lib/oeqa/runtime/cases/ssh.py
meta/lib/oeqa/runtime/cases/stap.py
meta/lib/oeqa/runtime/cases/xorg.py