[lvm-devel] master - tests; make sure python_lvm_unit.py is executable
Zdenek Kabelac
zkabelac at sourceware.org
Fri May 18 14:28:01 UTC 2018
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=fbf64fe730ffa27ee94867017742174f270d3fa0
Commit: fbf64fe730ffa27ee94867017742174f270d3fa0
Parent: 43fb32e761a2c4d1ebaec5eff9d9f0f372563cf9
Author: Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate: Fri May 18 16:16:09 2018 +0200
Committer: Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Fri May 18 16:25:44 2018 +0200
tests; make sure python_lvm_unit.py is executable
---
test/api/Makefile.in | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/test/api/Makefile.in b/test/api/Makefile.in
index e953675..1659b87 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)
More information about the lvm-devel
mailing list