| OLD | NEW |
| 1 # Copyright (C) 1997-1998, 2007-2012 Free Software Foundation, Inc. | 1 # Copyright (C) 1997-1998, 2007-2012 Free Software Foundation, Inc. |
| 2 | 2 |
| 3 # This program is free software; you can redistribute it and/or modify | 3 # This program is free software; you can redistribute it and/or modify |
| 4 # it under the terms of the GNU General Public License as published by | 4 # it under the terms of the GNU General Public License as published by |
| 5 # the Free Software Foundation; either version 3 of the License, or | 5 # the Free Software Foundation; either version 3 of the License, or |
| 6 # (at your option) any later version. | 6 # (at your option) any later version. |
| 7 # | 7 # |
| 8 # This program is distributed in the hope that it will be useful, | 8 # This program is distributed in the hope that it will be useful, |
| 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 # GNU General Public License for more details. | 11 # GNU General Public License for more details. |
| 12 # | 12 # |
| 13 # You should have received a copy of the GNU General Public License | 13 # You should have received a copy of the GNU General Public License |
| 14 # along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 14 # along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 15 | 15 |
| 16 if $tracelevel then { | |
| 17 strace $tracelevel | |
| 18 } | |
| 19 | |
| 20 | 16 |
| 21 if { [skip_hp_tests] } then { continue } | 17 if { [skip_hp_tests] } then { continue } |
| 22 | 18 |
| 23 set testfile "so-thresh" | 19 set testfile "so-thresh" |
| 24 set binfile ${objdir}/${subdir}/${testfile} | 20 set binfile ${objdir}/${subdir}/${testfile} |
| 25 | 21 |
| 26 if [get_compiler_info ${binfile}] { | 22 if [get_compiler_info] { |
| 27 return -1 | 23 return -1 |
| 28 } | 24 } |
| 29 | 25 |
| 30 # This testcase is relatively large, and therefore can take awhile to | 26 # This testcase is relatively large, and therefore can take awhile to |
| 31 # load. We'd best set the timeout to something suitable, or we may | 27 # load. We'd best set the timeout to something suitable, or we may |
| 32 # seem to fail... | 28 # seem to fail... |
| 33 # | 29 # |
| 34 set timeout 60 | 30 set timeout 60 |
| 35 | 31 |
| 36 # Build procedure for this testcase: | 32 # Build procedure for this testcase: |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 -re ".*Reading symbols from .*/lib02-so-thresh\\.sl\\.\\.\\.done\\..*$gdb_prom
pt $"\ | 322 -re ".*Reading symbols from .*/lib02-so-thresh\\.sl\\.\\.\\.done\\..*$gdb_prom
pt $"\ |
| 327 {pass "manually load all symbols"} | 323 {pass "manually load all symbols"} |
| 328 -re "$gdb_prompt $" { | 324 -re "$gdb_prompt $" { |
| 329 setup_xfail hppa*-*-* CHFts24108 | 325 setup_xfail hppa*-*-* CHFts24108 |
| 330 fail "manually load all symbols (CHFts24108)" | 326 fail "manually load all symbols (CHFts24108)" |
| 331 } | 327 } |
| 332 timeout {fail "(timeout) manually load all symbols"} | 328 timeout {fail "(timeout) manually load all symbols"} |
| 333 } | 329 } |
| 334 | 330 |
| 335 return 0 | 331 return 0 |
| OLD | NEW |