oeqa/utils: replace some tabs with spaces

Python code should use spaces only for indentation.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
oeqa/utils: fix testcase decorator to allow calling tests individually

Without this, running tests individually failed with a traceback:

$ oe-selftest --run-test
buildoptions.ImageOptionsTests.test_incremental_image_generation
2014-12-23 14:40:37,636 - selftest - INFO - Checking that everything is in order before running the tests
2014-12-23 14:40:38,408 - selftest - INFO - Running bitbake -p
2014-12-23 14:40:40,235 - selftest - INFO - Loading tests from:
oeqa.selftest.buildoptions.ImageOptionsTests.test_incremental_image_generation
Traceback (most recent call last):
  File "/home/user/poky/scripts/oe-selftest", line 179, in <module>
    ret = main()
  File "/home/user/poky/scripts/oe-selftest", line 164, in main
    suite.addTests(loader.loadTestsFromName(test))
  File "/usr/lib64/python2.7/unittest/loader.py", line 91, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "/home/user/poky/meta/lib/oeqa/selftest/buildoptions.py", line 12, in <module>
    class ImageOptionsTests(oeSelfTest):
  File "/home/user/poky/meta/lib/oeqa/selftest/buildoptions.py", line 14, in ImageOptionsTests
    @testcase(761)
NameError: global name 'func' is not defined

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
oeqa/selftest: fix test_event_handler for changes in bitbake output

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
oeqa/selftest: skip test_incremental_image_generation if not using rpm

We have just implemented incremental ipk image generation, but at the
moment this test doesn't support that, so skip it if not using rpm.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
oeqa/selftest: improve failure messages for devtool tests

assertTrue prints "False is not True" if it fails, which is pretty much
useless. Use a more appropriate assertion test where practical and add a
message where it isn't.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
oeqa/selftest: populate pkgdata/shlibs in test_recipetool_create_git

Build some recipes so that we have the needed data in the sysroot for
recipetool to refer to when scanning for dependencies.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
oeqa/selftest: fix test_force_task so it doesn't taint the entire build

Using -C sets a taint on the specified task, and m4-native is in the
dependency chain for just about everything, which means that everything
gets forced to rebuild. We don't need the influence of this test to
extend outside of the test itself, so ensure that the taint gets cleared
at the end of the test.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
elfutils: Update PREFERRED_VERSION after upgrade

Since we normally fix the version of elfutils in tcmode-default, this
needs to be updated after we upgrade the recipe itself.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runqemu-internal: increase memory for qemuarm64

Increase memory to 512M for qemuarm64. The original size 126M can't make
task testimage pass, neither 256M.

[YOCTO #7102]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>