Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: Maciej Borzecki <maciej.borzecki@rndity.com>
Cc: Maciek Borzecki <maciek.borzecki@gmail.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v3 0/5] wic: selftest: enhancements for non-x86 MACHINE support & fixed-size tests
Date: Fri, 17 Mar 2017 16:40:27 +0200	[thread overview]
Message-ID: <20170317144027.GA22297@linux.intel.com> (raw)
In-Reply-To: <cover.1489668133.git.maciej.borzecki@rndity.com>

Hi Maciej,

Thank you for the patchset!

Can you fix these pylint regressions?

C: 49, 0: Exactly one space required after comma
    def __call__(self,f):
                     ^ (bad-whitespace)
C: 53, 0: No space allowed before :
            if self.archs and arch not in self.archs :
                                                     ^ (bad-whitespace)
C: 40, 0: Missing function docstring (missing-docstring)
C: 44, 0: Invalid class name "onlyForArch" (invalid-name)
C: 44, 0: Missing class docstring (missing-docstring)
C: 49, 4: Invalid argument name "f" (invalid-name)
C: 51, 8: Missing function docstring (missing-docstring)
R: 44, 0: Too few public methods (0/2) (too-few-public-methods)
C:422,12: Missing function docstring (missing-docstring)
C:628,69: Invalid variable name "tf" (invalid-name)
R:623, 4: Method could be a function (no-self-use)
R: 60, 0: Too many public methods (50/20) (too-many-public-methods)


Is it possible to use functools.wraps to make onlyforarc decorator a function?
would be nice to get rid of CamelCase in its name.

Other than this the patchset looks great! Thank you!

On Thu, Mar 16, 2017 at 01:44:31PM +0100, Maciej Borzecki wrote:
> A series with enhancements and new test cases for wic selftest. The
> enhancements allow for running wic selftest for non-x86 MACHINE, such as
> qemuarm (the whole series was verified on qemux86-64 and qemuarm).
> 
> The first patch adds a machine independent kickstart file - wictestdisk.
> Most of test cases build a disk image using one of the kickstart files
> shipped in Poky (mostly directdisk. These are usually x86 oriented due
> to use of syslinux and cannot be used when running with non-x86
> compatible MACHINE. On the other hand, the image built during tests does
> not need to be bootable (with exception of TCs that verify if the image
> is indeed bootable).
> 
> Patch 2 introduces wictestdisk in test cases where its use is possible.
> 
> Patch 3 adds onlyForArch() convenience decorator and applies it to test
> cases where x86 specific image must be used. In the end, only 13 TCs are
> skipped on qemuarm.
> 
> Patch 4 removes some assumptions about kernel image type.
> 
> Patch 5 adds tests for --fixed-size partition flags
> 
> Maciej Borzecki (5):
>   selftest: wictestdisk: machine agnostic WKS for use with selftest
>   selftest: wic: replace directdisk with wictestdisk where possible
>   wic: selftest: avoid COMPATIBLE_HOST issues
>   wic: selftest: do not assume bzImage kernel image
>   wic: selftest: add tests for --fixed-size partition flags
> 
>  meta-selftest/wic/wictestdisk.wks |   7 ++
>  meta/lib/oeqa/selftest/wic.py     | 167 ++++++++++++++++++++++++++++++--------
>  2 files changed, 140 insertions(+), 34 deletions(-)
>  create mode 100644 meta-selftest/wic/wictestdisk.wks
> 
> -- 
> 2.9.3
> 

-- 
--
Regards,
Ed


  parent reply	other threads:[~2017-03-17 14:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16 12:44 [PATCH v3 0/5] wic: selftest: enhancements for non-x86 MACHINE support & fixed-size tests Maciej Borzecki
2017-03-16 12:44 ` [PATCH v3 1/5] selftest: wictestdisk: machine agnostic WKS for use with selftest Maciej Borzecki
2017-03-16 12:44 ` [PATCH v3 2/5] selftest: wic: replace directdisk with wictestdisk where possible Maciej Borzecki
2017-03-16 12:44 ` [PATCH v3 3/5] wic: selftest: avoid COMPATIBLE_HOST issues Maciej Borzecki
2017-03-16 12:44 ` [PATCH v3 4/5] wic: selftest: do not assume bzImage kernel image Maciej Borzecki
2017-03-16 12:44 ` [PATCH v3 5/5] wic: selftest: add tests for --fixed-size partition flags Maciej Borzecki
2017-03-17 14:40 ` Ed Bartosh [this message]
2017-03-21 11:35   ` [PATCH v4 0/5] wic: selftest: enhancements for non-x86 MACHINE support & fixed-size tests Maciej Borzecki
2017-03-21 11:35     ` [PATCH v4 1/5] selftest: wictestdisk: machine agnostic WKS for use with selftest Maciej Borzecki
2017-03-21 11:35     ` [PATCH v4 2/5] selftest: wic: replace directdisk with wictestdisk where possible Maciej Borzecki
2017-03-21 11:35     ` [PATCH v4 3/5] wic: selftest: avoid COMPATIBLE_HOST issues Maciej Borzecki
2017-03-21 11:35     ` [PATCH v4 4/5] wic: selftest: do not assume bzImage kernel image Maciej Borzecki
2017-03-21 11:35     ` [PATCH v4 5/5] wic: selftest: add tests for --fixed-size partition flags Maciej Borzecki
2017-03-22 12:10     ` [PATCH v4 0/5] wic: selftest: enhancements for non-x86 MACHINE support & fixed-size tests Ed Bartosh

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=20170317144027.GA22297@linux.intel.com \
    --to=ed.bartosh@linux.intel.com \
    --cc=maciej.borzecki@rndity.com \
    --cc=maciek.borzecki@gmail.com \
    --cc=openembedded-core@lists.openembedded.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