From fbf64fe730ffa27ee94867017742174f270d3fa0 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 18 May 2018 16:16:09 +0200 Subject: [PATCH] tests; make sure python_lvm_unit.py is executable --- test/api/Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/api/Makefile.in b/test/api/Makefile.in index e953675a0..1659b872c 100644 --- a/test/api/Makefile.in +++ b/test/api/Makefile.in @@ -38,6 +38,8 @@ SOURCES2 = \ endif +PYTEST = python_lvm_unit.py + include $(top_builddir)/make.tmpl DEFS += -D_REENTRANT @@ -48,6 +50,9 @@ LIBS += @LVM2APP_LIB@ $(DMEVENT_LIBS) -ldevmapper %.t: %.o $(DEPLIBS) $(CC) -o $@ $(<) $(CFLAGS) $(LDFLAGS) $(ELDFLAGS) $(LIBS) +all: + test -x $(PYTEST) || chmod 755 $(PYTEST) + test: $(OBJECTS) $(DEPLIBS) $(CC) -o $@ $(OBJECTS) $(CFLAGS) $(LDFLAGS) $(ELDFLAGS) $(LIBS) $(READLINE_LIBS)