[lvm-devel] master - NIX: Run tests with /dev and (on recent Fedora) with udevd running.

Petr Rockai mornfall at fedoraproject.org
Fri Feb 28 10:25:19 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4757ef824ce37c110810f245397d3d2500133310
Commit:        4757ef824ce37c110810f245397d3d2500133310
Parent:        9c927f7b275aee128ddd9049a46f44b68edfe130
Author:        Petr Rockai <prockai at redhat.com>
AuthorDate:    Mon Aug 5 21:16:54 2013 +0200
Committer:     Petr Rockai <me at mornfall.net>
CommitterDate: Fri Feb 28 11:23:50 2014 +0100

NIX: Run tests with /dev and (on recent Fedora) with udevd running.

---
 release.nix |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/release.nix b/release.nix
index bd12fbb..fa5ccbd 100644
--- a/release.nix
+++ b/release.nix
@@ -164,7 +164,8 @@ let
          echo "%define check_commands \\";
          echo "make lcov-reset \\";
          echo "dmsetup targets\\";
-         echo "make check T=${T} || touch \$out/nix-support/failed \\"
+         echo "/usr/lib/systemd/systemd-udevd --daemon || true \\";
+         echo "LVM_TEST_DEVDIR=/dev make check T=${T} || touch \$out/nix-support/failed \\"
 	 echo "cp -R test/results /tmp/test-results \\"
          echo "make lcov && cp -R lcov_reports /tmp/lcov") >> source.inc
         sed -e "s,\(device_mapper_version\) [0-9.]*$,\1 $version_dm," \




More information about the lvm-devel mailing list