tests: link them dynamically by default

. so that functionality is tested
	. add test63 that actually tests dlopen(), dlsym(),
	  etc. functionality; only built if clang supports it
	. also test10 test to copy more of the executable
This commit is contained in:
Ben Gras
2012-04-16 05:21:21 +02:00
parent 4b999f1962
commit 0c8e5ecc2e
6 changed files with 117 additions and 7 deletions
+15 -1
View File
@@ -14,6 +14,7 @@ CFLAGS.test52=-mhard-float
# Some have special libraries
LDADD.test59= -lmthread
LDFLAGS.mod= -shared # make shared object
# Some have an extra file
OBJS.test57=test57loop.o
@@ -26,7 +27,20 @@ OBJS.test57=test57loop.o
PROG+= test$(t)
.endfor
PROG+= t10a t11a t11b t40a t40b t40c t40d t40e t40f t60a t60b
PROG+= t10a t11a t11b t40a t40b t40c t40d t40e t40f t60a t60b
.include <bsd.own.mk>
.if $(MKPIC) == "yes"
# Build them as dynamic executables by default if shared libraries
# are available; so that the building and executing of dynamic
# executables is tested
MINIXDYNAMIC?=yes
# Add test that must be linked dynamically, and its dynamically loaded
# module
PROG+= test63 mod
.endif
.include <bsd.prog.mk>