LVM2 ./Makefile.in ./WHATS_NEW test/Makefile.i ...
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-11-23 12:21:42
Modified files:
. : Makefile.in WHATS_NEW test : Makefile.in test/api : Makefile.in test/unit : Makefile.in
Log message:
Cleanup test makefiles
Simplify /api makefile and use SUBDIRS target for test dir. Properly cleanup Makefiles with distclean in /test. Use symbolic links for shell scripts for non-srcdir compilation.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/Makefile.in.diff?cvsroot=lvm2&r1=1.66&r2=1.67
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2196&r2=1.2197
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/Makefile.in.diff?cvsroot=lvm2&r1=1.63&r2=1.64
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/api/Makefile.in.diff?cvsroot=lvm2&r1=1.22&r2=1.23
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/unit/Makefile.in.diff?cvsroot=lvm2&r1=1.2&r2=1.3
Makefile.in +1 -1
@@ -36,7 +36,7 @@ ifeq ($(MAKECMDGOALS),distclean) SUBDIRS = doc include man scripts \ lib tools daemons libdm \ - udev po liblvm test/api test \ + udev po liblvm test \ unit-tests/datastruct unit-tests/mm unit-tests/regex endif DISTCLEAN_DIRS += lcov_reports*
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.89 - ================================== + Use gcc warning options only with .c to .o compilation. Move y/n prompts to stderr and repeat if response has both 'n' and 'y'. Replace the unit testing framework with CUnit (--enable-testing). Fix dmeventd snapshot monitoring when multiple extensions were involved.
test/Makefile.in +18 -29
104 lines not on this page · raw message
test/api/Makefile.in +10 -37
68 lines not on this page · raw message
test/unit/Makefile.in +8 -3
@@ -13,13 +13,18 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ -VPATH = @srcdir@ +VPATH = $(srcdir) SOURCES = bitset_t.c matcher_t.c run.c TARGETS = run include $(top_builddir)/make.tmpl LDFLAGS += -ldevmapper -lcunit -unit: run - LD_LIBRARY_PATH=$(top_builddir)/libdm ./run +ifeq ("$(TESTING)", "yes") +all: unit +endif + +unit: $(TARGETS) + @echo Running unit tests + LD_LIBRARY_PATH=$(top_builddir)/libdm ./$(TARGETS)