Backport patch to update __version__ to 0.2 to match current version.
(From OE-Core rev: 67332a80391cb341c57f95e8c7b6bab306e25b1c)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This module can be used as a wrapper around unittest, so depend on that.
Don't also depend on pytest as that's a much larger dependency, and
in ptest images we want as little pulled in as possible.
(From OE-Core rev: 98343c8fa3572ccd04964c988d55cd31f2ad8d9f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specifically this fixes the issue where if a pytest test suite fails
during collection then the errors are hidden.
(From OE-Core rev: db0e82135ce73d0d6d55b2c2ac17a3fdec8aca99)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>