master - tests; make sure python_lvm_unit.py is executable
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=fbf64fe730ffa27ee94867017742174f270d3fa0 Commit: fbf64fe730ffa27ee94867017742174f270d3fa0 Parent: 43fb32e761a2c4d1ebaec5eff9d9f0f372563cf9 Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri May 18 16:16:09 2018 +0200 Committer: Zdenek Kabelac <[email protected]> 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(-)
test/api/Makefile.in +5 -0
@@ -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)