summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgcrypt
diff options
context:
space:
mode:
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>2017-05-21 11:22:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-25 23:35:50 +0100
commitb0a74554ef926ce05078494ca8e67178b56232f5 (patch)
tree1f78e7d837d6337050e8b3a3f9d0c5fc1e907b5f /meta/recipes-support/libgcrypt
parenta5a14edb5573e33667b63b1e34cb4e19d075e8e8 (diff)
downloadopenembedded-core-contrib-b0a74554ef926ce05078494ca8e67178b56232f5.tar.gz
base.py: add assertExists and assertNotExists to oeselftest
Current osselftest print confusing assertion message when using self.assertTrue(os.path.exists(filepath)) to test file path, example of confusing assertion message: AssertionError: False is not true Add the assertExists and assertNotExists to improve assertion message and simplify coding, using selft.assertExists(filepath), will print meaningful assertion message: AssertionError: <filepath> does not exist [YOCTO #11356] Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/libgcrypt')
0 files changed, 0 insertions, 0 deletions