[OE-core] [PATCH] oe-selftest: meta_ide: add tests for meta-ide-support

2018-02-07 Thread Yeoh Ee Peng
QA team were testing meta-ide-support manually. Add automated tests to test that bibtake meta-ide-support will create the toolchain and environment setup script. Also test that after using environment setup script, one can compile c program and build cpio project. Signed-off-by: Yeoh Ee Peng

[OE-core] [PATCH] oe-selftest: meta_ide: add test for meta-ide-support

2018-01-24 Thread Yeoh Ee Peng
QA team were testing meta-ide-support manually. Add automated tests to test that bibtake meta-ide-support will create the toolchain and environment setup script. Also test that after using environment setup script, one can compile c program. Signed-off-by: Yeoh Ee Peng <ee.peng.y...@intel.

[OE-core] [PATCH] sanity.bbclass: uppercase check for machine and distro

2017-09-24 Thread Yeoh Ee Peng
Uppercase in machine and distro will result in unexpected behavior. QA check will produce error message if it verified that machine or distro is uppercase. Signed-off-by: Yeoh Ee Peng <ee.peng.y...@intel.com> --- meta/classes/sanity.bbclass | 9 + 1 file changed, 9 insertions(+)

[OE-core] [PATCH] insane: add qa check for uppercase recipe name

2017-08-28 Thread Yeoh Ee Peng
that recipe name is uppercase. [YOCTO# 11592] Signed-off-by: Yeoh Ee Peng <ee.peng.y...@intel.com> --- meta/classes/insane.bbclass | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index b7177c9..fe0d744

[OE-core] [PATCH] insane: add qa check for uppercase recipe name

2017-08-17 Thread Yeoh Ee Peng
that recipe name is uppercase. [YOCTO# 11592] Signed-off-by: Yeoh Ee Peng <ee.peng.y...@intel.com> --- meta/classes/insane.bbclass | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index b7177c9..86237a8

[OE-core] [PATCH] insane: add qa check for lowercase recipe name

2017-08-15 Thread Yeoh Ee Peng
that recipe name is not lowercase. [YOCTO# 11592] Signed-off-by: Yeoh Ee Peng <ee.peng.y...@intel.com> --- meta/classes/insane.bbclass | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index b7177c9..8e062d1

[OE-core] [PATCH] *** Selftest/devtool: replace file assertTrue/False with assertExists/NotExists ***

2017-06-14 Thread Yeoh Ee Peng
*** replace file assertTrue/False with assertExists/NotExists to improve assert message and simplify codes *** Yeoh Ee Peng (1): selftest/devtool: replace file assertTrue/False with assertExists/NotExists meta/lib/oeqa/selftest/devtool.py | 128 +++--- 1 file

[OE-core] [PATCH] selftest/devtool: replace file assertTrue/False with assertExists/NotExists

2017-06-14 Thread Yeoh Ee Peng
, this will improve assertion message and simplify coding, self.assertExists(filepath) will print below AssertionError: does not exist [YOCTO #11356] Signed-off-by: Yeoh Ee Peng <ee.peng.y...@intel.com> --- meta/lib/oeqa/selftest/cases/devtool.py | 128

[OE-core] [PATCH] *** Selftest/devtool: replace file assertTrue/False with assertExists/NotExists ***

2017-05-31 Thread Yeoh Ee Peng
*** replace file assertTrue/False with assertExists/NotExists to improve assert message and simplify codes *** Yeoh Ee Peng (1): selftest/devtool: replace file assertTrue/False with assertExists/NotExists meta/lib/oeqa/selftest/devtool.py | 128 +++--- 1

[OE-core] [PATCH] selftest/devtool: replace file assertTrue/False with assertExists/NotExists

2017-05-31 Thread Yeoh Ee Peng
, this will improve assertion message and simplify coding, self.assertExists(filepath) will print below AssertionError: does not exist [YOCTO #11356] Signed-off-by: Yeoh Ee Peng <ee.peng.y...@intel.com> --- meta/lib/oeqa/selftest/devtool.py | 128 +++---

[OE-core] [PATCH 2/2] selftest/oeselftest: add QA test for assertExists and assertNotExists

2017-05-21 Thread Yeoh Ee Peng
Add QA tests for assertExists and assertNotExists inside osSelfTest class. Add positive and negative testing for each assert function. [YOCTO #11356] Signed-off-by: Yeoh Ee Peng <ee.peng.y...@intel.com> --- meta/lib/oeqa/selftest/oeselftest.py | 35 +++

[OE-core] [PATCH 1/2] base.py: add assertExists and assertNotExists to oeselftest

2017-05-21 Thread Yeoh Ee Peng
, using selft.assertExists(filepath), will print meaningful assertion message: AssertionError: does not exist [YOCTO #11356] Signed-off-by: Yeoh Ee Peng <ee.peng.y...@intel.com> --- meta/lib/oeqa/selftest/base.py | 13 + 1 file changed, 13 insertions(+) diff --git a/me

[OE-core] [PATCH 0/2] *** oe-selftest: add an assertExists() function and change tests to use it ***

2017-05-21 Thread Yeoh Ee Peng
*** Add assertExists and assertNotExists, then add QA test for both functions *** Yeoh Ee Peng (2): base.py: add assertExists and assertNotExists to oeselftest selftest/oeselftest: add QA test for assertExists and assertNotExists meta/lib/oeqa/selftest/base.py | 13

<    1   2   3