]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Create "bin" directory so that zloop.sh works
authorMatthew Ahrens <mahrens@delphix.com>
Mon, 21 May 2018 17:36:59 +0000 (10:36 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 21 May 2018 17:36:59 +0000 (10:36 -0700)
Before running zloop.sh, we need to run `scripts/zfs-tests.sh -c` to
create and populate the `bin` directory with symlinks to our utilities.
Rather than making developers remember to do this, `make` should do it
for them.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
Closes #7525
Closes #7547

Makefile.am

index 90a1c94755e798c445c5bc2520db107b7e60b1ec..20f7903287e81e5130e9f859a685113ee8e17f02 100644 (file)
@@ -37,6 +37,9 @@ distclean-local::
                -o -name '*.gcno' \) \
                -type f -print | xargs $(RM)
 
+all-local:
+       -${top_srcdir}/scripts/zfs-tests.sh -c
+
 dist-hook:
        sed -i 's/Release:[[:print:]]*/Release:      $(RELEASE)/' \
                $(distdir)/META