]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/sdk/cases: Migrate tests to the new OEQA framework
authorAníbal Limón <anibal.limon@linux.intel.com>
Sun, 27 Nov 2016 23:51:53 +0000 (17:51 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:05:19 +0000 (12:05 +0000)
commitc9fe59d7c5e815fb6453f50d0f15699ea6799129
tree4e7715c04b705eb78f49e55d421b25483c594f9c
parent51be1880631435627e8ff490d71b024c2683244a
oeqa/sdk/cases: Migrate tests to the new OEQA framework

Summary of the changes:

- Remove auto extend_path using pkgutil at __init__, is not needed.
- Change base class to OESDKTestCase.
- Add td_vars attr to set dependencies of certain variables in test
data.
- Change skips from module level to class level because Test context
  (tc)
now isn't at module level.
- Variable names changes to be consistent (i.e. sdktestdir ->
  sdk_dir).

[YOCTO #10599]

- Don't use bb.utils functions use instead remove_safe and shutil
  for copy files.
- SDKBuildProject pass test data variables instead of call getVar
  inside.

[YOCTO #10231]

(From OE-Core rev: 91cd1ed19a3f34c29cd77eb136036975fe465444)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/sdk/cases/__init__.py [deleted file]
meta/lib/oeqa/sdk/cases/buildcvs.py
meta/lib/oeqa/sdk/cases/buildgalculator.py
meta/lib/oeqa/sdk/cases/buildiptables.py
meta/lib/oeqa/sdk/cases/gcc.py
meta/lib/oeqa/sdk/cases/perl.py
meta/lib/oeqa/sdk/cases/python.py