return -1
}
-if ![runto sub_] then {
+if {![runto sub_]} {
perror "couldn't run to breakpoint sub_"
return
}
return -1
}
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
return -1
}
return -1
}
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
perror "couldn't run to main"
return
}
return -1
}
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
perror "Couldn't run to main"
return
}
return -1
}
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
perror "couldn't run to main"
return
}
return -1
}
-if {![runto [gdb_get_line_number "post_init"]]} then {
+if {![runto [gdb_get_line_number "post_init"]]} {
perror "couldn't run to breakpoint post_init"
return
}
return -1
}
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
perror "couldn't run to main"
return
}
clean_restart
-if [set_lang_fortran] then {
+if {[set_lang_fortran]} {
test_dot_operations
} else {
warning "$test_name tests suppressed." 0
gdb_test "set print sevenbit-strings" ""
-if [set_lang_fortran] then {
+if {[set_lang_fortran]} {
test_value_history
test_convenience_variables
test_integer_literals_accepted
}
}
-if {![runto [gdb_get_line_number "post_init"]]} then {
+if {![runto [gdb_get_line_number "post_init"]]} {
perror "couldn't run to breakpoint post_init"
return
}
gdb_load_shlib $libfile
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
perror "couldn't run to main"
return
}
# Avoid shared lib symbols.
gdb_test_no_output "set auto-solib-add off"
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
perror "couldn't run to main"
return
}
return -1
}
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
perror "couldn't run to main"
return
}
}
# Break on a contained function and run to it.
- if {![runto ${src_prefix}[gdb_get_line_number "pre_init"]]} then {
+ if {![runto ${src_prefix}[gdb_get_line_number "pre_init"]]} {
perror "couldn't run to breakpoint pre_init"
return
}
return -1
}
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
perror "couldn't run to main"
continue
}
return -1
}
-if {![fortran_runto_main]} then {
+if {![fortran_runto_main]} {
return -1
}
return -1
}
-if {![fortran_runto_main]} then {
+if {![fortran_runto_main]} {
return -1
}
return -1
}
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
perror "couldn't run to main"
return
}
return -1
}
-if {![runto [gdb_get_line_number "post_truth_table_init"]]} then {
+if {![runto [gdb_get_line_number "post_truth_table_init"]]} {
perror "couldn't run to breakpoint post_truth_table_init"
return
}
# Avoid shared lib symbols.
gdb_test_no_output "set auto-solib-add off"
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
perror "couldn't run to main"
return
}
clean_restart
-if [set_lang_fortran] then {
+if {[set_lang_fortran]} {
test_basic_parsing_of_type_kinds
test_parsing_invalid_type_kinds
test_old_star_type_sizes
gdb_test "set print sevenbit-strings" ""
-if [set_lang_fortran] then {
+if {[set_lang_fortran]} {
test_primitive_types_known
test_default_types
test_integer_literal_types_accepted
# Try to assign VLA to user variable
clean_restart ${testfile}
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
perror "couldn't run to main"
return
}