[uClibc-cvs] uClibc/test/dlopen Makefile,1.3,1.4

Erik Andersen andersen at uclibc.org
Tue Sep 2 00:17:05 UTC 2003


Update of /var/cvs/uClibc/test/dlopen
In directory winder:/tmp/cvs-serv17632

Modified Files:
	Makefile 
Log Message:
Make it easier to disable lib debugging (mainly for when testing
with glibc).


Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/test/dlopen/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile	1 Sep 2003 23:43:27 -0000	1.3
+++ Makefile	2 Sep 2003 00:17:01 -0000	1.4
@@ -19,6 +19,8 @@
 
 TESTDIR=../
 include $(TESTDIR)/Rules.mak
+DEBUG_LIBS=X
+#DEBUG_LIBS=LD_DEBUG
 
 all: run
 
@@ -58,15 +60,15 @@
 
 run: libtest2.so libtest1.so test1 test2 test3 dltest libtest.so dltest2 libtest3.so
 	@echo "----------running test 1--------------"
-	-LD_LIBRARY_PATH=`pwd`:. LD_DEBUG=all ./test1
+	-LD_LIBRARY_PATH=`pwd`:. $(DEBUG_LIBS)=all ./test1
 	@echo "----------running test 2--------------"
-	-LD_LIBRARY_PATH=`pwd`:. LD_DEBUG=all ./test2
+	-LD_LIBRARY_PATH=`pwd`:. $(DEBUG_LIBS)=all ./test2
 	@echo "----------running test 3--------------"
-	-LD_LIBRARY_PATH=`pwd`:. LD_DEBUG=all ./test3
+	-LD_LIBRARY_PATH=`pwd`:. $(DEBUG_LIBS)=all ./test3
 	@echo "----------running test 3--------------"
-	-LD_DEBUG=all ./dltest2
+	-$(DEBUG_LIBS)=all ./dltest2
 	@echo "----------running test 4--------------"
-	-LD_DEBUG=all ./dltest
+	-$(DEBUG_LIBS)=all ./dltest
 
 clean:
 	rm -f *.o libtest1.so* libtest2.so* test1 test2 test3 \




More information about the uClibc-cvs mailing list