aboutsummaryrefslogtreecommitdiff
path: root/runtest.exp
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2016-03-21 18:03:24 +1100
committerBen Elliston <bje@gnu.org>2016-03-21 18:03:24 +1100
commit44540535ee3cc17d82a55db9959199781757296f (patch)
tree2c430c1a5a47cad9ec327a99001cca6c0494dd88 /runtest.exp
parent7d16f0f551b33f39244a0fb12c73f067e1bf4622 (diff)
downloaddejagnu-44540535ee3cc17d82a55db9959199781757296f.zip
dejagnu-44540535ee3cc17d82a55db9959199781757296f.tar.gz
dejagnu-44540535ee3cc17d82a55db9959199781757296f.tar.bz2
* runtest.exp: Whitespace, comment and typo fixes.
* lib/dejagnu.exp: Likewise. * lib/remote.exp: Likewise. * lib/utils.exp: Likewise.
Diffstat (limited to 'runtest.exp')
-rw-r--r--runtest.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtest.exp b/runtest.exp
index e53afdf..d435db8 100644
--- a/runtest.exp
+++ b/runtest.exp
@@ -585,7 +585,7 @@ proc lookfor_file { dir name } {
#
# If there a multiple files with the same name, stop after the first one found.
# The order is first look in the install dir, then in a parallel dir in the
-# source tree, (up one or two levels), then in the current dir.
+# source tree (up one or two levels), then in the current dir.
#
proc load_lib { file } {
global verbose libdir libdirs srcdir base_dir execpath tool
@@ -683,7 +683,7 @@ unset arg_host_triplet arg_build_triplet
# If the build machine type hasn't been specified by now, use config.guess.
#
-if {[expr { $build_triplet == "" && $host_triplet == ""} ]} {
+if {[expr {$build_triplet == "" && $host_triplet == ""}]} {
# find config.guess
foreach dir "$libdir $libdir/libexec $libdir/.. $execpath $srcdir $srcdir/.. $srcdir/../.." {
verbose "Looking for ${dir}/config.guess" 2
@@ -711,7 +711,6 @@ if {[expr { $build_triplet == "" && $host_triplet == ""} ]} {
if { $host_triplet == "" } {
set host_triplet $build_triplet
}
-
}
#