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:
parent
9fb16c608d
commit
8d7da8864e
@ -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 $< $@
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user