1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

Cleanup files from testing

Cleanup generated files from coverage testing.
Do not skip standard .o compilation for lib/not and lib/harness.
Make a bit longer string in harness to fit new shell/ in.
This commit is contained in:
Zdenek Kabelac 2011-11-23 14:56:47 +00:00
parent 9fb16c608d
commit 8d7da8864e
3 changed files with 5 additions and 3 deletions

View File

@ -25,6 +25,7 @@ abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
SUBDIRS = api unit
SOURCES = lib/not.c lib/harness.c
include $(top_builddir)/make.tmpl
@ -61,8 +62,8 @@ check_local: .tests-stamp
lib/should: lib/not
ln -sf not lib/should
lib/%: $(srcdir)/lib/%.c .lib-dir-stamp
$(CC) $(DEFS) $(CFLAGS) -o $@ $<
lib/%: lib/%.o .lib-dir-stamp
$(CC) $(LDFLAGS) -o $@ $<
lib/%: $(srcdir)/lib/%.sh .lib-dir-stamp
cp $< $@

View File

@ -21,6 +21,7 @@ TARGETS += test
SOURCES = test.c
TARGETS += vgtest.t percent.t pe_start.t
SOURCES2 = vgtest.c percent.c pe_start.c
endif
include $(top_builddir)/make.tmpl

View File

@ -208,7 +208,7 @@ static void run(int i, char *f) {
char buf[128];
snprintf(buf, 128, "%s ...", f);
buf[127] = 0;
printf("Running %-40s ", buf);
printf("Running %-50s ", buf);
fflush(stdout);
while ((w = waitpid(pid, &st, WNOHANG)) == 0) {
drain();