generic-poky/meta/lib/oeqa/selftest
Yi Zhao 8c9fb9dbe7 oeqa/selftest: fix test_incremental_image_generation for changes in log output
test_incremental_image_generation case failed because the log output
chanaged:

FAIL: test_incremental_image_generation (oeqa.selftest.buildoptions.ImageOptionsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
  "/buildarea3/yzhao1/poky-build/meta/lib/oeqa/utils/decorators.py", line 90, in wrapped_f
    return func(*args)
  File
  "/buildarea3/yzhao1/poky-build/meta/lib/oeqa/selftest/buildoptions.py", line 25, in test_incremental_image_generation
    self.assertEqual(0, res.status, msg="No match for openssh-sshd in log.do_rootfs")
AssertionError: 0 != 1 : No match for openssh-sshd in log.do_rootfs
----------------------------------------------------------------------

Using re search instead grep

(From OE-Core rev: 1872a9430cec0c61f1ec349df198160addd430de)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-31 17:04:46 +00:00
..
__init__.py scripts/oe-selftest: script to run builds as unittest against bitbake or various scripts 2013-12-03 17:45:50 +00:00
_sstatetests_noauto.py oe-selftest: force some values in local.conf for _sstatetests_noauto.py 2014-03-07 14:58:45 +00:00
_toaster.py oeqs/selftest: Added test case decorators for toaster 2014-07-17 12:37:00 +01:00
base.py Added testcase decorator to use in logging. Added class decorator LogResults that outputs test results in separate log file. 2014-07-03 17:41:17 +01:00
bblayers.py Added testcase decorator to use in logging. Added class decorator LogResults that outputs test results in separate log file. 2014-07-03 17:41:17 +01:00
bbtests.py oeqa/selftest: fix test_force_task so it doesn't taint the entire build 2014-12-25 08:27:13 +00:00
buildhistory.py oe-selftest: New BuildhistoryBase object for buildhistory testing. 2013-12-20 12:26:28 +00:00
buildoptions.py oeqa/selftest: fix test_incremental_image_generation for changes in log output 2014-12-31 17:04:46 +00:00
devtool.py oeqa/selftest: populate pkgdata/shlibs in test_recipetool_create_git 2014-12-25 08:27:13 +00:00
oescripts.py oeqs/selftest: Added test case decorators for the rest of selftest testcases except toaster 2014-07-10 17:38:35 +01:00
prservice.py oeqs/selftest: Added test case decorators for the rest of selftest testcases except toaster 2014-07-10 17:38:35 +01:00
sstate.py oe-selftest: separated the SStateBase and SStateTests in different modules 2014-01-16 12:18:52 +00:00
sstatetests.py oeqa: sstatetests should now look for glibc-initial 2014-09-01 18:03:04 +01:00