mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
[gdb/testsuite, tclint] Fix gdb.dlang
Running tclint on the test-cases in gdb.dlang shows a few problems. Fix these. Tested on x86_64-linux.
This commit is contained in:
@@ -197,7 +197,7 @@ proc test_d_demangling {} {
|
||||
|
||||
clean_restart
|
||||
|
||||
if [set_lang_d] {
|
||||
if {[set_lang_d]} {
|
||||
gdb_test_no_output "set width 0"
|
||||
|
||||
test_d_demangling
|
||||
|
||||
@@ -129,7 +129,7 @@ proc test_d_expressions {} {
|
||||
|
||||
clean_restart
|
||||
|
||||
if [set_lang_d] {
|
||||
if {[set_lang_d]} {
|
||||
test_d_integer_literals
|
||||
test_d_float_literals
|
||||
test_d_expressions
|
||||
|
||||
@@ -51,7 +51,7 @@ proc test_builtin_d_types_accepted {} {
|
||||
|
||||
clean_restart
|
||||
|
||||
if [set_lang_d] {
|
||||
if {[set_lang_d]} {
|
||||
test_builtin_d_types_accepted
|
||||
} else {
|
||||
warning "D type tests suppressed."
|
||||
|
||||
@@ -82,7 +82,7 @@ proc test_d_typeof {} {
|
||||
|
||||
clean_restart
|
||||
|
||||
if [set_lang_d] {
|
||||
if {[set_lang_d]} {
|
||||
test_d_sizeof
|
||||
test_d_typeof
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user