aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2009-03-22 14:59:14 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2009-03-22 14:59:14 +0000
commit78425caa1d62d6efbe50d2d11c269b32ca5eff73 (patch)
tree2506a74462f47d543912efa66e83da08ad8866f4 /gcc
parentf3ed1d022245ccef6adb105bd4c61dfa2ef31edb (diff)
downloadgcc-78425caa1d62d6efbe50d2d11c269b32ca5eff73.zip
gcc-78425caa1d62d6efbe50d2d11c269b32ca5eff73.tar.gz
gcc-78425caa1d62d6efbe50d2d11c269b32ca5eff73.tar.bz2
target-libpath.exp (set_ld_library_path_env_vars): Correct TEST_GCC_EXEC_PREFIX test to check existence as a tcl variable...
* lib/target-libpath.exp (set_ld_library_path_env_vars): Correct TEST_GCC_EXEC_PREFIX test to check existence as a tcl variable, not environment variable. From-SVN: r144997
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/lib/target-libpath.exp4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6d651dd..abad6ba 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2009-03-22 Hans-Peter Nilsson <hp@axis.com>
+
+ * lib/target-libpath.exp (set_ld_library_path_env_vars):
+ Correct TEST_GCC_EXEC_PREFIX test to check existence as a tcl
+ variable, not environment variable.
+
2009-03-21 Jason Merrill <jason@redhat.com>
PR c++/28879
diff --git a/gcc/testsuite/lib/target-libpath.exp b/gcc/testsuite/lib/target-libpath.exp
index 760f375..c95cba6 100644
--- a/gcc/testsuite/lib/target-libpath.exp
+++ b/gcc/testsuite/lib/target-libpath.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -69,7 +69,7 @@ proc set_ld_library_path_env_vars { } {
# Set GCC_EXEC_PREFIX for the compiler under test to pick up files not in
# the build tree from a specified location (normally the install tree).
- if [info exists env(TEST_GCC_EXEC_PREFIX)] {
+ if [info exists TEST_GCC_EXEC_PREFIX] {
setenv GCC_EXEC_PREFIX "$TEST_GCC_EXEC_PREFIX"
}