From: Omar Sandoval <osandov@osandov.com>
To: "André Almeida" <andrealmeid@collabora.com>
Cc: linux-block@vger.kernel.org, osandov@fb.com,
kernel@collabora.com, krisman@collabora.com
Subject: Re: [PATCH blktests 0/3] Add --config argument for custom config filenames
Date: Wed, 30 Oct 2019 14:18:25 -0700 [thread overview]
Message-ID: <20191030211825.GC326591@vader> (raw)
In-Reply-To: <20191029200942.83044-1-andrealmeid@collabora.com>
On Tue, Oct 29, 2019 at 05:09:39PM -0300, André Almeida wrote:
> Instead of just using the default config file, one may also find useful to
> specify which configuration file would like to use without editing the config
> file, like this:
>
> $ ./check --config=tests_nvme
> ...
> $ ./check -c tests_scsi
>
> This pull request solves this. This change means to be optional, in the sense
> that the default behavior should not be modified and current setups will not be
> affect by this. To check if this is true, I have done the following test:
>
> - Print the value of variables $DEVICE_ONLY, $QUICK_RUN, $TIMEOUT,
> $RUN_ZONED_TESTS, $OUTPUT, $EXCLUDE
>
> - Run with the following setups:
> - with a config file in the dir
> - without a config file in the dir
> - configuring using command line arguments
>
> With both original code and with my changes, I validated that the values
> remained the same. Then, I used the argument --config=test_config to check that
> the values of variables are indeed changing.
>
> This patchset add this feature, update the docs and fix a minor issue with a
> command line argument. Also, I have changed "# shellcheck disable=SC1091" to
> "# shellcheck source=/dev/null", since it seems the proper way to disable this
> check according to shellcheck documentation[1].
>
> Thanks,
> André
>
> [1] https://github.com/koalaman/shellcheck/wiki/SC1090#exceptions
>
> This patch is also avaible at GitHub:
> https://github.com/osandov/blktests/pull/56
>
> André Almeida (3):
> check: Add configuration file option
> Documentation: Add information about `--config` argument
> check: Make "device-only" option a valid option
Patches 2 and 3 look good (although a nitpick is that patch 3 could be
first since it's a bug fix that I could take independently of the other
patches). I had one comment on patch 1.
Thanks!
next prev parent reply other threads:[~2019-10-30 21:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-29 20:09 [PATCH blktests 0/3] Add --config argument for custom config filenames André Almeida
2019-10-29 20:09 ` [PATCH blktests 1/3] check: Add configuration file option André Almeida
2019-10-30 21:16 ` Omar Sandoval
2019-10-30 22:05 ` André Almeida
2019-10-29 20:09 ` [PATCH blktests 2/3] Documentation: Add information about `--config` argument André Almeida
2019-10-29 20:09 ` [PATCH blktests 3/3] check: Make "device-only" option a valid option André Almeida
2019-10-30 21:18 ` Omar Sandoval [this message]
2019-10-30 22:14 ` [PATCH blktests 0/3] Add --config argument for custom config filenames André Almeida
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=20191030211825.GC326591@vader \
--to=osandov@osandov.com \
--cc=andrealmeid@collabora.com \
--cc=kernel@collabora.com \
--cc=krisman@collabora.com \
--cc=linux-block@vger.kernel.org \
--cc=osandov@fb.com \
/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;
as well as URLs for NNTP newsgroup(s).