[oe] [meta-java][PATCH v2] 3/3] README: add "Testing" section

Richard Leitner richard.leitner at skidata.com
Tue Jun 19 13:04:49 UTC 2018


Add new "Testing" section in README where we describe how meta-java
tests may be used.

Signed-off-by: Richard Leitner <richard.leitner at skidata.com>
---
 README | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/README b/README
index b66df64..17a25e7 100644
--- a/README
+++ b/README
@@ -57,6 +57,22 @@ Main layer maintainers:
   Otavio Salvador <otavio at ossystems.com.br>
   Richard Leitner <richard.leitner at skidata.com>
 
+Testing
+-------
+
+The meta-java layer may be tested using oeqa's runtime image tests. The easiest
+way is to add the following configuration to your local.conf:
+
+SANITY_TESTED_DISTROS=""
+TEST_IMAGE = "1"
+
+Then you should be able to use the open{jre,jdk}-{7,8}-test-image recipes.
+Furthermore you could also include the tests provided in lib/oeqa/runtime/cases
+into your test image. More information on image testing is available at:
+
+	https://wiki.yoctoproject.org/wiki/Image_tests
+
+
 Usage instructions
 ------------------
 
-- 
2.11.0




More information about the Openembedded-devel mailing list