aboutsummaryrefslogtreecommitdiff
path: root/runtest.exp
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2006-05-22 03:37:04 +0000
committerBen Elliston <bje@gnu.org>2006-05-22 03:37:04 +0000
commita7964f9e4ede95deac6e8fe46097864ab81a6ae8 (patch)
tree334c24a5a9e1782245c842daba6f43c3d0fcecb1 /runtest.exp
parent24ac1d99e898aa63020fbcd1409d62849f1b603a (diff)
downloaddejagnu-a7964f9e4ede95deac6e8fe46097864ab81a6ae8.zip
dejagnu-a7964f9e4ede95deac6e8fe46097864ab81a6ae8.tar.gz
dejagnu-a7964f9e4ede95deac6e8fe46097864ab81a6ae8.tar.bz2
* runtest.exp: Use switch, not case.
* lib/framework.exp (clone_output): Likewise. (clear_xfail): Likewise. (clear_kfail): Likewise. (set_warning_threshold): Make warning_threshold global. (get_warning_threshold): Likewise. * lib/libgloss.exp (process_multilib_options): Use switch, not case. * lib/remote.exp (local_exec): Only run global errorInfo once. (standard_upload): Fix error in variable use ($file -> $srcfile). * lib/utils.exp (grep): Use switch, not case. (slay): Fix mismatched bracket.
Diffstat (limited to 'runtest.exp')
-rwxr-xr-xruntest.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtest.exp b/runtest.exp
index 600d67f..492b2b2 100755
--- a/runtest.exp
+++ b/runtest.exp
@@ -699,7 +699,7 @@ if [expr { $build_triplet == "" && $host_triplet == ""} ] {
exit 1
}
catch "exec $config_guess" build_triplet
- case $build_triplet in {
+ switch $build_triplet {
{ "No uname command or uname output not recognized" "Unable to guess system type" } {
verbose "WARNING: Uname output not recognized"
set build_triplet unknown