diff options
author | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-25 20:55:10 +0000 |
---|---|---|
committer | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-25 20:55:10 +0000 |
commit | 911eca6f674f32320415982ed992ae6ab191d08a (patch) | |
tree | 51dfc607ed1e1eb8b2147a2046f0ae90f6e38525 /gcc/testsuite/lib/compat.exp | |
parent | 741b772680cbaa17353fff6ab1f693811fa1d192 (diff) | |
download | gcc-911eca6f674f32320415982ed992ae6ab191d08a.tar.gz |
* lib/compat.exp (compat-execute): Break up long lines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82260 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib/compat.exp')
-rw-r--r-- | gcc/testsuite/lib/compat.exp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gcc/testsuite/lib/compat.exp b/gcc/testsuite/lib/compat.exp index 0a7cfec0b0e..b2ab14961eb 100644 --- a/gcc/testsuite/lib/compat.exp +++ b/gcc/testsuite/lib/compat.exp @@ -173,7 +173,8 @@ proc compat-get-options { src } { set tmp [dg-get-options $src] foreach op $tmp { set cmd [lindex $op 0] - if { ![string compare "dg-options" $cmd] || ![string compare "dg-xfail-if" $cmd] } { + if { ![string compare "dg-options" $cmd] \ + || ![string compare "dg-xfail-if" $cmd] } { set status [catch "$op" errmsg] if { $status != 0 } { perror "src: $errmsg for \"$op\"\n" @@ -278,15 +279,19 @@ proc compat-execute { src1 sid use_alt } { # later. Skip this if we don't have an alternate compiler. if { $use_alt != 0 } then { compat-use-alt-compiler - compat-obj "$src2" "$obj2_alt" $alt_option $extra_flags_2 $optstr $compile_xfail_2 - compat-obj "$src3" "$obj3_alt" $alt_option $extra_flags_3 $optstr $compile_xfail_3 + compat-obj "$src2" "$obj2_alt" $alt_option $extra_flags_2 \ + $optstr $compile_xfail_2 + compat-obj "$src3" "$obj3_alt" $alt_option $extra_flags_3 \ + $optstr $compile_xfail_3 } # Compile pieces with the compiler under test. compat-use-tst-compiler compat-obj "$src1" "$obj1" $tst_option $extra_flags_1 $optstr "" - compat-obj "$src2" "$obj2_tst" $tst_option $extra_flags_2 $optstr $compile_xfail_2 - compat-obj "$src3" "$obj3_tst" $tst_option $extra_flags_3 $optstr $compile_xfail_3 + compat-obj "$src2" "$obj2_tst" $tst_option $extra_flags_2 \ + $optstr $compile_xfail_2 + compat-obj "$src3" "$obj3_tst" $tst_option $extra_flags_3 \ + $optstr $compile_xfail_3 # Link (using the compiler under test), run, and clean up tests. compat-run "${obj2_tst}-${obj3_tst}" \ |