diff options
author | Jacob Bachmeyer <jcb62281@gmail.com> | 2019-01-23 13:24:00 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2019-01-23 13:24:00 +1100 |
commit | be2257674498a97bd600af4f3634bf3275679246 (patch) | |
tree | e7919dbf4cbff81d47dd41bc34581e89d9673107 /doc | |
parent | 18ac21ff342311780efc64bcce0902699c35b256 (diff) | |
download | dejagnu-be2257674498a97bd600af4f3634bf3275679246.zip dejagnu-be2257674498a97bd600af4f3634bf3275679246.tar.gz dejagnu-be2257674498a97bd600af4f3634bf3275679246.tar.bz2 |
* doc/dejagnu.texi (Global config file): Change example to use the
Tcl "switch" command instead of the deprecated "case" command.
Signed-off-by: Ben Elliston <bje@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dejagnu.texi | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi index e52a6d1..592797d 100644 --- a/doc/dejagnu.texi +++ b/doc/dejagnu.texi @@ -10,7 +10,7 @@ @copying @c man begin COPYRIGHT -Copyright @copyright{} 1992-2018 Free Software Foundation, Inc. +Copyright @copyright{} 1992-2019 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -1220,8 +1220,8 @@ targets. Below is an example of a global configuration file for a Canadian cross environment. A Canadian cross is a toolchain that is built on, runs on, and targets three different system triplets (for example, building a Solaris-hosted MIPS R4000 toolchain on a GNU/Linux -system). All configuration values in the example below are -site-specific. +system). This example is based on a configuration once used at +Cygnus. @strong{Example global configuration file} @@ -1232,17 +1232,17 @@ lappend boards_dir "/nfs/cygint/s1/cygnus/dejagnu/boards" verbose "Global config file: target_triplet is $target_triplet" 2 global target_list -case "$target_triplet" in @{ -@ @{ "native" @} @{ +switch -glob -- $target_triplet @{ +@ "native" @{ @ set target_list "unix" @ @} -@ @{ "sparc64-*elf" @} @{ +@ "sparc64-*elf" @{ @ set target_list "sparc64-sim" @ @} -@ @{ "mips-*elf" @} @{ +@ "mips-*elf" @{ @ set target_list "mips-sim wilma barney" @ @} -@ @{ "mips-lsi-elf" @} @{ +@ "mips-lsi-elf" @{ @ set target_list "mips-lsi-sim@{,soft-float,el@}" @ @} @} |