Introducing Unit test framework based on nvme-cli

Sagi Grimberg sagi at grimberg.me
Thu Nov 17 04:36:49 PST 2016


>> No objections, enable Christoph now, address the doc issues in follow-
>> on patches :-)
>
> Alrighty, it's applied.

Now make deb is running tests :(

Usually when building a package we don't want to run tests
that require nvme devices. So until we can classify to tests
that have requirements to not run unless some env variables
are set we need:
--
diff --git a/debian/rules b/debian/rules
index c2cc8f8f8e20..e797412a128a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,5 +5,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
  %:
         dh $@

+override_dh_auto_test:
+
  override_dh_auto_install:
         dh_auto_install -- PREFIX=/usr
--



More information about the Linux-nvme mailing list