From: hare@suse.de (Hannes Reinecke)
Subject: [nvme-cli 0/9] Update tests for qemu
Date: Tue, 30 Apr 2019 08:05:45 +0200 [thread overview]
Message-ID: <20190430060554.24368-1-hare@suse.de> (raw)
Hi all,
here's an update to the nvme-cli test suite, to bring it more in
line with the spec and to allow it to run under qemu.
The first part fixes up various tests to check if the functionality
is implemented before running the test.
The second part is to make it to run under the quirky qemu NVMe
emulation, which chose not to implement some mandatory features
and log pages. But as this is qemu we sure can update the emulation,
but that won't help us for existing platforms.
So there really is no good way except for masking it out in the
tests.
As usual, comments and reviews are welcome
Hannes Reinecke (9):
tests/nvme_writezeros_test.py: check if write zeroes is supported
tests/nvme_writeuncor_test.py: check if write uncorrectable is
supported
tests/nvme_compare_test.py: check if compare is supported
tests: ignore log tests for Qemu
tests/nvme_text.py: add test for namespace management
tests/nvme_attach_detach_ns_test.py: skip if namespace mgmt is not
supported
tests/nvme_create_max_ns_test.py: skip if namespace mgmt is not
supported
tests/nvme_get_features_test.py: skip features for Qemu
tests/nvme_format_test.py: skip test if namespace management is not
supported
tests/nvme_attach_detach_ns_test.py | 13 ++--
tests/nvme_compare_test.py | 7 ++-
tests/nvme_create_max_ns_test.py | 10 ++-
tests/nvme_error_log_test.py | 3 +-
tests/nvme_format_test.py | 10 ++-
tests/nvme_get_features_test.py | 2 +
tests/nvme_smart_log_test.py | 5 +-
tests/nvme_test.py | 119 ++++++++++++++++++++++++++++++++++++
tests/nvme_writeuncor_test.py | 11 ++--
tests/nvme_writezeros_test.py | 15 ++---
10 files changed, 167 insertions(+), 28 deletions(-)
--
2.13.7
next reply other threads:[~2019-04-30 6:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-30 6:05 Hannes Reinecke [this message]
2019-04-30 6:05 ` [nvme-cli 1/9] tests/nvme_writezeros_test.py: check if write zeroes is supported Hannes Reinecke
2019-04-30 16:48 ` Heitke, Kenneth
2019-04-30 6:05 ` [nvme-cli 2/9] tests/nvme_writeuncor_test.py: check if write uncorrectable " Hannes Reinecke
2019-04-30 18:56 ` Heitke, Kenneth
2019-04-30 6:05 ` [nvme-cli 3/9] tests/nvme_compare_test.py: check if compare " Hannes Reinecke
2019-04-30 6:05 ` [nvme-cli 4/9] tests: ignore log tests for Qemu Hannes Reinecke
2019-04-30 6:05 ` [nvme-cli 5/9] tests/nvme_text.py: add test for namespace management Hannes Reinecke
2019-04-30 6:05 ` [nvme-cli 6/9] tests/nvme_attach_detach_ns_test.py: skip if namespace mgmt is not supported Hannes Reinecke
2019-04-30 6:05 ` [nvme-cli 7/9] tests/nvme_create_max_ns_test.py: " Hannes Reinecke
2019-04-30 6:05 ` [nvme-cli 8/9] tests/nvme_get_features_test.py: skip features for Qemu Hannes Reinecke
2019-04-30 6:05 ` [nvme-cli 9/9] tests/nvme_format_test.py: skip test if namespace management is not supported Hannes Reinecke
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=20190430060554.24368-1-hare@suse.de \
--to=hare@suse.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.