diff options
author | Rob Savoye <rob@welcomehome.org> | 2002-03-07 05:12:59 +0000 |
---|---|---|
committer | Rob Savoye <rob@welcomehome.org> | 2002-03-07 05:12:59 +0000 |
commit | 167ba105e840dedcd795b9527bb7bac4318fd277 (patch) | |
tree | e8d1b3bc2b80c0c2d75c4fdaa443b9eda936f480 /lib | |
parent | 8bd9e0e9da1fadb663b268cb061ea7540935b18c (diff) | |
download | dejagnu-167ba105e840dedcd795b9527bb7bac4318fd277.zip dejagnu-167ba105e840dedcd795b9527bb7bac4318fd277.tar.gz dejagnu-167ba105e840dedcd795b9527bb7bac4318fd277.tar.bz2 |
New baseboard support file, fix indenting in remote.exp.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/remote.exp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/remote.exp b/lib/remote.exp index a209930..518bf26 100644 --- a/lib/remote.exp +++ b/lib/remote.exp @@ -1067,16 +1067,16 @@ proc standard_wait { dest timeout } { proc check_for_board_status { variable } { upvar $variable output; - - # If all programs of this board have a wrapper that always outputs a - # status message, then the absence of it means that the program - # crashed, regardless of status found elsewhere (e.g. simulator exit - # code). - if { [target_info needs_status_wrapper] != "" } then { + + # If all programs of this board have a wrapper that always outputs a + # status message, then the absence of it means that the program + # crashed, regardless of status found elsewhere (e.g. simulator exit + # code). + if { [target_info needs_status_wrapper] != "" } then { set nomatch_return 2 - } else { + } else { set nomatch_return -1 - } + } if [regexp "(^|\[\r\n\])\\*\\*\\* EXIT code" $output] { regsub "^.*\\*\\*\\* EXIT code " $output "" result; @@ -1087,9 +1087,9 @@ proc check_for_board_status { variable } { verbose "got board status $result" 3 verbose "output is $output" 3 if { $result == "" } { - return $nomatch_return; + return $nomatch_return } else { - return [expr $result]; + return [expr $result] } } else { return $nomatch_return; |