summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2004-08-19 17:59:17 (GMT)
committerdgp@users.sourceforge.net <dgp>2004-08-19 17:59:17 (GMT)
commit9261e010a86b9a91ba30b972e0d9e2cb8188544c (patch)
tree3f628b976049e15ad751b0243c741e260f953d8e /unix/Makefile.in
parentcdb135be305cbb108b1080ca61892405c2ad47d9 (diff)
downloadtk-9261e010a86b9a91ba30b972e0d9e2cb8188544c.zip
tk-9261e010a86b9a91ba30b972e0d9e2cb8188544c.tar.gz
tk-9261e010a86b9a91ba30b972e0d9e2cb8188544c.tar.bz2
* tests/safe.test (safe-1.3): Made test less sensitve to the
full set of existing aliases in an interp, so the it only tests whether the tested ones are present. * unix/Makefile.in: Copied LD_LIBRARY_PATH machinery from `make shell` target to other similar targets so that just built libraries are tested, rather than previous installations.
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 663369f..0a759a6 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.95 2004/07/20 10:23:51 das Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.96 2004/08/19 17:59:18 dgp Exp $
# Current Tk version; used in various names.
@@ -473,6 +473,8 @@ xttest: test.o tkTest.o tkSquare.o $(TK_LIB_FILE)
# % make test TESTFLAGS="-verbose bps -file fileName.test"
test: tktest
+ @LD_LIBRARY_PATH_VAR@=`pwd`:${TCL_BIN_DIR}:${@LD_LIBRARY_PATH_VAR@}; \
+ export @LD_LIBRARY_PATH_VAR@; \
TCL_LIBRARY=@TCL_SRC_DIR@/library; export TCL_LIBRARY; \
TK_LIBRARY=@TK_SRC_DIR@/library; export TK_LIBRARY; \
./tktest $(TOP_DIR)/tests/all.tcl -geometry +0+0 \
@@ -480,6 +482,8 @@ test: tktest
# Tests with different languages
testlang: tktest
+ @LD_LIBRARY_PATH_VAR@=`pwd`:${TCL_BIN_DIR}:${@LD_LIBRARY_PATH_VAR@}; \
+ export @LD_LIBRARY_PATH_VAR@; \
TCL_LIBRARY=@TCL_SRC_DIR@/library; export TCL_LIBRARY; \
TK_LIBRARY=@TK_SRC_DIR@/library; export TK_LIBRARY; \
for lang in $(LOCALES) ; \
@@ -491,6 +495,8 @@ testlang: tktest
# Useful target to launch a built tktest with the proper path,...
runtest: tktest
+ @LD_LIBRARY_PATH_VAR@=`pwd`:${TCL_BIN_DIR}:${@LD_LIBRARY_PATH_VAR@}; \
+ export @LD_LIBRARY_PATH_VAR@; \
TCL_LIBRARY=@TCL_SRC_DIR@/library; export TCL_LIBRARY; \
TK_LIBRARY=@TK_SRC_DIR@/library; export TK_LIBRARY; \
./tktest