From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/4] selftest/buildoptions: use a thinner image to test 'read-only-rootfs' feature
Date: Wed, 1 Feb 2017 09:02:13 -0600 [thread overview]
Message-ID: <c3a990d7-237d-e433-ae02-8bfe7214c162@linux.intel.com> (raw)
In-Reply-To: <1485904618.14144.19.camel@linuxfoundation.org>
On 01/31/2017 05:16 PM, Richard Purdie wrote:
> On Tue, 2017-01-31 at 16:50 -0600,
> leonardo.sandoval.gonzalez@linux.intel.com wrote:
>> From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
>>
>> The minimal is much faster to build that sato, so use the former to
>> test
>> read-only feature.
>>
>> Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.in
>> tel.com>
>> ---
>> meta/lib/oeqa/selftest/buildoptions.py | 5 +----
>> 1 file changed, 1 insertion(+), 4 deletions(-)
>>
>> diff --git a/meta/lib/oeqa/selftest/buildoptions.py
>> b/meta/lib/oeqa/selftest/buildoptions.py
>> index d40eb00..004b2dd 100644
>> --- a/meta/lib/oeqa/selftest/buildoptions.py
>> +++ b/meta/lib/oeqa/selftest/buildoptions.py
>> @@ -44,11 +44,8 @@ class ImageOptionsTests(oeSelfTest):
>>
>> @testcase(1435)
>> def test_read_only_image(self):
>> - distro_features = get_bb_var('DISTRO_FEATURES')
>> - if not ('x11' in distro_features and 'opengl' in
>> distro_features):
>> - self.skipTest('core-image-sato requires x11 and opengl
>> in distro features')
>> self.write_config('IMAGE_FEATURES += "read-only-rootfs"')
>> - bitbake("core-image-sato")
>> + bitbake("core-image-minimal")
>> # do_image will fail if there are any pending postinsts
> Whilst this is certainly going to be a touch faster, I believe we do
> want to test read only rootfs with a larger image like sato to make
> sure the postinsts really do work with a read only system?
I don't get it. What would make the test different using a larger image?
>
> Cheers,
>
> Richard
>
next prev parent reply other threads:[~2017-02-01 14:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-31 22:50 [PATCH 0/4] Some optimizations on top time selftest checks leonardo.sandoval.gonzalez
2017-01-31 22:50 ` [PATCH 1/4] selftest/buildoptions: use a thinner image to test 'read-only-rootfs' feature leonardo.sandoval.gonzalez
2017-01-31 23:16 ` Richard Purdie
2017-02-01 15:02 ` Leonardo Sandoval [this message]
2017-02-01 16:00 ` Richard Purdie
2017-02-01 16:13 ` Patrick Ohly
2017-02-02 12:40 ` Burton, Ross
2017-01-31 22:50 ` [PATCH 2/4] selftest/buildoptions: force compile task instead of cleaning sstates leonardo.sandoval.gonzalez
2017-01-31 23:16 ` Richard Purdie
2017-01-31 22:50 ` [PATCH 3/4] selftest/bbtests: use write_config instead of local.conf file leonardo.sandoval.gonzalez
2017-01-31 22:50 ` [PATCH 4/4] selftest/archiver: invalidate stamps instead of removing TMPDIR leonardo.sandoval.gonzalez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c3a990d7-237d-e433-ae02-8bfe7214c162@linux.intel.com \
--to=leonardo.sandoval.gonzalez@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox