X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.am;fp=Makefile.am;h=50c9e7d4e709cb68a90370385c11d21ea9358dab;hb=7ca3bda1660b58b82f4a11bc5637bf610a43aba6;hp=fcf5f6143bbb83a5648a94487f9e73df1dac87e3;hpb=17fa7abbb83024deb639aebf27686848e232e085;p=libguestfs.git diff --git a/Makefile.am b/Makefile.am index fcf5f61..50c9e7d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -103,7 +103,9 @@ tests_CFLAGS = \ tests_LDADD = $(top_builddir)/src/libguestfs.la TESTS = tests -TESTS_ENVIRONMENT = $(VG) +TESTS_ENVIRONMENT = \ + SKIP_TEST_COMMAND=$(shell ldd test-command | grep -sq 'not a dynamic executable' || echo 1) \ + $(VG) $(TESTS): $(INITRAMFS) $(VMLINUZ)