public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] test/py: vboot can be run only at Sandbox
Date: Wed, 20 Jul 2016 09:51:57 -0600	[thread overview]
Message-ID: <578F9E1D.9030503@wwwdotorg.org> (raw)
In-Reply-To: <CAPnjgZ0g=fgtM2F0mMxFvjHk1LqsTUbG0QP3_FJSSPstwcHrDA@mail.gmail.com>

On 07/20/2016 08:19 AM, Simon Glass wrote:
> +Stephen
>
> On 18 July 2016 at 00:49, Michal Simek <michal.simek@xilinx.com> wrote:
>> Getting this error:
>> Zynq> sb load hostfs - 100
>> /home/monstr/data/disk/u-boot/build-zynq_zc706/test.fit
>> Unknown command 'sb' - try 'help'
>>
>> because sb command is present only for Sandbox
>> obj-$(CONFIG_SANDBOX) += host.o
>>
>> that's why mark this test to be run only at Sandbox
>>
>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
>> ---
>>
>>   test/py/tests/test_vboot.py | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py
>> index c77989591c7e..92b4eccad808 100644
>> --- a/test/py/tests/test_vboot.py
>> +++ b/test/py/tests/test_vboot.py
>> @@ -29,6 +29,7 @@ import pytest
>>   import sys
>>   import u_boot_utils as util
>>
>> + at pytest.mark.boardspec('sandbox')
>>   @pytest.mark.buildconfigspec('fit_signature')
>
> Can we have both conditions, or does it only work as an OR?

I believe marks are conditions that must be individually satisfied, so 
when there are multiple marks, it's treated like an AND, which I imagine 
is the desired thing here.

  parent reply	other threads:[~2016-07-20 15:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18  6:49 [U-Boot] [PATCH] test/py: vboot can be run only at Sandbox Michal Simek
2016-07-20 14:19 ` Simon Glass
2016-07-20 14:21   ` Michal Simek
2016-07-20 15:51   ` Stephen Warren [this message]
2016-07-22  7:13     ` Michal Simek
2016-07-22 13:33       ` Simon Glass
2016-07-22 14:02         ` Michal Simek
2016-07-22 14:14           ` Simon Glass
2016-07-23  0:13 ` [U-Boot] " Tom Rini

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=578F9E1D.9030503@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --cc=u-boot@lists.denx.de \
    /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