| OLD | NEW |
| 1 # Copyright (C) 1994, 1997, 2005, 2007-2012 Free Software Foundation, | 1 # Copyright (C) 1994, 1997, 2005, 2007-2012 Free Software Foundation, |
| 2 # Inc. | 2 # Inc. |
| 3 | 3 |
| 4 # This program is free software; you can redistribute it and/or modify | 4 # This program is free software; you can redistribute it and/or modify |
| 5 # it under the terms of the GNU General Public License as published by | 5 # it under the terms of the GNU General Public License as published by |
| 6 # the Free Software Foundation; either version 3 of the License, or | 6 # the Free Software Foundation; either version 3 of the License, or |
| 7 # (at your option) any later version. | 7 # (at your option) any later version. |
| 8 # | 8 # |
| 9 # This program is distributed in the hope that it will be useful, | 9 # This program is distributed in the hope that it will be useful, |
| 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 # GNU General Public License for more details. | 12 # GNU General Public License for more details. |
| 13 # | 13 # |
| 14 # You should have received a copy of the GNU General Public License | 14 # You should have received a copy of the GNU General Public License |
| 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | 16 |
| 17 # This file was adapted from old Chill tests by Stan Shebs | 17 # This file was adapted from old Chill tests by Stan Shebs |
| 18 # (shebs@cygnus.com). | 18 # (shebs@cygnus.com). |
| 19 | 19 |
| 20 if $tracelevel then { | |
| 21 strace $tracelevel | |
| 22 } | |
| 23 | |
| 24 load_lib "fortran.exp" | 20 load_lib "fortran.exp" |
| 25 | 21 |
| 26 if { [skip_fortran_tests] } { continue } | 22 if { [skip_fortran_tests] } { continue } |
| 27 | 23 |
| 28 proc test_integer_literals_accepted {} { | 24 proc test_integer_literals_accepted {} { |
| 29 global gdb_prompt | 25 global gdb_prompt |
| 30 | 26 |
| 31 # Test various decimal values. | 27 # Test various decimal values. |
| 32 | 28 |
| 33 gdb_test "p 123" " = 123" | 29 gdb_test "p 123" " = 123" |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 test_convenience_variables | 255 test_convenience_variables |
| 260 test_integer_literals_accepted | 256 test_integer_literals_accepted |
| 261 test_integer_literals_rejected | 257 test_integer_literals_rejected |
| 262 test_logical_literals_accepted | 258 test_logical_literals_accepted |
| 263 test_character_literals_accepted | 259 test_character_literals_accepted |
| 264 test_float_literals_accepted | 260 test_float_literals_accepted |
| 265 test_arithmetic_expressions | 261 test_arithmetic_expressions |
| 266 } else { | 262 } else { |
| 267 warning "$test_name tests suppressed." 0 | 263 warning "$test_name tests suppressed." 0 |
| 268 } | 264 } |
| OLD | NEW |