Comments (3)
I'm not familiar with autopkgtest
. The tests are part of the source repo and are embedded in meson.build files. Are you saying that autopkgtest
allows one to run tests without having access to the source repo? How does that work? Can you point me to a project where this is used.
from nvme-stas.
Some information about autopkgtest:
- https://packaging.ubuntu.com/html/auto-pkg-test.html
- https://salsa.debian.org/ci-team/autopkgtest/blob/master/doc/README.package-tests.rst
You specify which packages you need installed in your test bed and maybe what kind of restrictions you need in your test bed and what to run for the test. When running the test, the current working directory contains the source package content (which is the git export plus the debian directory).
from nvme-stas.
Hi @bdrung - Hope this will answer your question.
Basic testing is done using meson
. From the directory where the source package content is located, run the following commands.
BUILD_DIR=".build"
meson setup ${BUILD_DIR}
meson test -C ${BUILD_DIR}
The above commands have been added to the Makefile
for convenience and can be run simply with:
make test
Coverage testing is also available, but it is recommended to run that in a VM as this may leave the host computer in a weird state if something were to go wrong. Additional packages are required to run Coverage testing (see: TESTING.md). The command to run coverage testing is:
make coverage
from nvme-stas.
Related Issues (20)
- Use auto-generated hostnqn as a fallback HOT 7
- IndexError: list index out of range
- nvme-stas discovers pcie nvme devices? HOT 2
- nvme: failed to disconnect, error 2 HOT 6
- Unable to save last known config: [Errno 2] No such file or directory: '/run/stafd/last-known-config.pickle' HOT 1
- All the connections lost after storage upgrade because the nvme-stas stopped reconnecting after 60 times HOT 2
- meson: Dependency python3-libnvme not found HOT 9
- Trim whitespace in trsvcid and traddr HOT 1
- Create/Delete operations get executed in the wrong order HOT 1
- nvme0 - Registration error. Result:0x0000, Status:0x4002 - Invalid Field in Command HOT 7
- make rpm fails on fedora-36 HOT 4
- nvme-stas needs additional config options to apply in-band auth settings HOT 8
- Bad whatis entries for several man pages HOT 4
- test_new: gi.repository.GLib.GError: g-io-error-quark: Could not connect: No such file or directory (1) HOT 6
- Grammar mistake "allows to do" HOT 1
- nvme-stas does not disconnect PDC on receipt of mDNS goodbye packet HOT 4
- Scaling issues with nvme-stas HOT 8
- Test Udev (legacy test G6) fails (when interface has multiple IPv6 addresses) HOT 2
- Udev test issues with esoteric network interfaces HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvme-stas.