]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
lib: Build sources before running 'check-access'
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 6 May 2019 14:19:22 +0000 (16:19 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 7 May 2019 09:01:21 +0000 (11:01 +0200)
If the source tree was freshly configured and no objects are
built yet then 'make check-access' has no test to run. Build
the sources beforehand.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Makefile.am

index eba591635253da574d4e45e71f1cf27ab90cd6ee..0d8bb733e6d2c6572cce1947c89834c7e4382c8b 100644 (file)
@@ -83,7 +83,7 @@ srpm: clean
 
 check-local: all tests
 
-check-access:
+check-access: all
        @($(MAKE) $(AM_MAKEFLAGS) -C tests check-access)
 
 MAINTAINERCLEANFILES = .git-module-status