summaryrefslogtreecommitdiff
path: root/test/dlopen/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-02 00:17:01 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-02 00:17:01 +0000
commit63b7491b2bf70cd69947e55e0fc1b268a311e504 (patch)
tree72bb86a6dc707c13445f9f40bd0edcc2905ab53e /test/dlopen/Makefile
parent6c5a1f2eaac709694035ce71f06d487e2ae4853a (diff)
Make it easier to disable lib debugging (mainly for when testing
with glibc).
Diffstat (limited to 'test/dlopen/Makefile')
-rw-r--r--test/dlopen/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/dlopen/Makefile b/test/dlopen/Makefile
index 8ac46503e..529f08a08 100644
--- a/test/dlopen/Makefile
+++ b/test/dlopen/Makefile
@@ -19,6 +19,8 @@
TESTDIR=../
include $(TESTDIR)/Rules.mak
+DEBUG_LIBS=X
+#DEBUG_LIBS=LD_DEBUG
all: run
@@ -58,15 +60,15 @@ libtest3.so: libtest.c
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 \