-# Copyright (C) 1994 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1997 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# Please email any bugs, comments, and/or additions to this file to:
# bug-gdb@prep.ai.mit.edu
-# This file was adapted from Chill tests by Stan Shebs (shebs@cygnus.com).
+# This file was adapted from (OBSOLETE) Chill tests by Stan Shebs (shebs@cygnus.com).
if $tracelevel then {
strace $tracelevel
# fails, then we skip the other tests.
proc set_lang_fortran {} {
- global prompt
+ global gdb_prompt
if [gdb_test "set language fortran" ""] {
return 0;
}
proc test_integer_literals_accepted {} {
- global prompt
+ global gdb_prompt
# Test various decimal values.
}
proc test_character_literals_accepted {} {
- global prompt
+ global gdb_prompt
# Test various character values.
}
proc test_integer_literals_rejected {} {
- global prompt
+ global gdb_prompt
test_print_reject "p _"
}
proc test_logical_literals_accepted {} {
- global prompt
+ global gdb_prompt
# Test the only possible values for a logical, TRUE and FALSE.
}
proc test_float_literals_accepted {} {
- global prompt
+ global gdb_prompt
# Test various floating point formats
}
proc test_convenience_variables {} {
- global prompt
+ global gdb_prompt
gdb_test "set \$foo = 101" " = 101\[\r\n\]*" \
"Set a new convenience variable"
}
proc test_value_history {} {
- global prompt
+ global gdb_prompt
gdb_test "print 101" "\\\$1 = 101" \
"Set value-history\[1\] using \$1"
}
proc test_arithmetic_expressions {} {
- global prompt
+ global gdb_prompt
# Test unary minus with various operands