test_buildhistory: Add test to verify that LICENSE is added
PATCH 1/1 test_buildhistory: Add test to verify that LICENSE is added
From: Sana Kazi <[email protected]>
Added test case which uses BUILDHISTORY_EXPORT_RECIPE_VARIABLES and BUILDHISTORY_EXPORT_PACKAGE_VARIABLES to add LICENSE for glibc as a sample recipe to buildhistory and the test verifies that expected license value is written in latest file.
Signed-off-by Sana Kazi <[email protected]>
--- .../recipes-test/glibc/glibc_%.bbappend | 2 + .../oeqa/selftest/cases/test_buildhistory.py | 46 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 meta-selftest/recipes-test/glibc/glibc_%.bbappend create mode 100644 meta/lib/oeqa/selftest/cases/test_buildhistory.py
meta-selftest/recipes-test/glibc/glibc_%.bbappend new file +2 -0
@@ -0,0 +1,2 @@ +# This bbappend is used to alter the recipe using the test_recipe.inc file created by tests. +include test_recipe.inc
meta/lib/oeqa/selftest/cases/test_buildhistory.py new file +46 -0
46 lines not on this page · raw message
Signature · 1 line
2.17.1