From c8f7e412aaee4e41ec8ff980f463536c757538d0 Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Tue, 19 Jun 2018 14:55:22 +0200 Subject: README: add "Testing" section Add new "Testing" section in README where we describe how meta-java tests may be used. Signed-off-by: Richard Leitner --- 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 Richard Leitner +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 ------------------ -- cgit v1.2.3-54-g00ecf