You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests: replace config.json with CLI args in tap_runner; add --destructive flag
- tap_runner.py: add --controller, --namespace, --log-dir, --nvme-bin,
--debug, --no-pci-validate, --destructive CLI args; each falls back to
the corresponding NVME_TESTS_* env var; args are propagated as env vars
for nvme_test.py to read; fix exit code to reflect test pass/fail
- nvme_test.py: load_config() now treats config.json as optional fallback;
NVME_TESTS_* env vars (set by tap_runner) always override config.json;
add destructive = False class attribute; skip destructive tests unless
NVME_TESTS_DESTRUCTIVE=1; skip gracefully when no device is configured;
drop unused mmap import
- nvme_{compare,copy,ctrl_reset,dsm,format,read_write,writeuncor,writezeros}
_test.py: set destructive = True so they are skipped by default
- meson_options.txt: add nvme-tests-{controller,namespace,log-dir,bin,destructive}
options for configuring hardware tests at meson setup time
- tests/meson.build: remove config.json from infra list; build extra args
for tap_runner from the new meson options
- run-nightly-tests.yml: replace config.json generation with meson setup
-D options; use absolute log dir path /nvme-cli/tests/nvmetests/ to fix
artifact upload after the switch to meson (meson runs tests from the
build dir, so a relative path resolved to .build-ci/tests/nvmetests/)
Agent-Logs-Url: https://github.com/linux-nvme/nvme-cli/sessions/9541e0d9-7570-4a69-9907-c871a0cd3cf9
Co-authored-by: igaw <[email protected]>
0 commit comments