mirror of
git://sourceware.org/git/lvm2.git
synced 2025-08-30 05:49:28 +03:00
tests; make sure python_lvm_unit.py is executable
This commit is contained in:
@ -38,6 +38,8 @@ SOURCES2 = \
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
PYTEST = python_lvm_unit.py
|
||||||
|
|
||||||
include $(top_builddir)/make.tmpl
|
include $(top_builddir)/make.tmpl
|
||||||
|
|
||||||
DEFS += -D_REENTRANT
|
DEFS += -D_REENTRANT
|
||||||
@ -48,6 +50,9 @@ LIBS += @LVM2APP_LIB@ $(DMEVENT_LIBS) -ldevmapper
|
|||||||
%.t: %.o $(DEPLIBS)
|
%.t: %.o $(DEPLIBS)
|
||||||
$(CC) -o $@ $(<) $(CFLAGS) $(LDFLAGS) $(ELDFLAGS) $(LIBS)
|
$(CC) -o $@ $(<) $(CFLAGS) $(LDFLAGS) $(ELDFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
all:
|
||||||
|
test -x $(PYTEST) || chmod 755 $(PYTEST)
|
||||||
|
|
||||||
test: $(OBJECTS) $(DEPLIBS)
|
test: $(OBJECTS) $(DEPLIBS)
|
||||||
$(CC) -o $@ $(OBJECTS) $(CFLAGS) $(LDFLAGS) $(ELDFLAGS) $(LIBS) $(READLINE_LIBS)
|
$(CC) -o $@ $(OBJECTS) $(CFLAGS) $(LDFLAGS) $(ELDFLAGS) $(LIBS) $(READLINE_LIBS)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user