]> code.ossystems Code Review - openembedded-core.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:03:54 +0000 (12:03 +0000)
commit91cd1ed19a3f34c29cd77eb136036975fe465444
tree1e1e16dbe19b252d2aa8f576e6d1f44d3106fddc
parent581c34d1efe9839f50ef322761269b4e4d8a56a6
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]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
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