tests cleanup

. make common.o link with the tests instead of being
	  #included as common.c
	. fix warnings about missing prototypes by declaring functions
	  static
	. reduces some duplicated code

Change-Id: Ic2a765d7f5886add5863190efec3fdd2d2ea2137
This commit is contained in:
Ben Gras
2013-04-16 16:04:46 +00:00
parent cef94e096e
commit 5977114c42
80 changed files with 364 additions and 327 deletions

View File

@@ -70,6 +70,10 @@ LDSTATIC= -dynamic
PROGS+= test63 mod
.endif
.for o in $(PROGS)
OBJS.${o} += common.o
.endfor
# LSC Make sure there is not leftover after a failed testrun
clean: .PHONY .MAKE
$(MAKE) -C select clean