mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +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
|
clean_restart
|
||||||
|
|
||||||
if [set_lang_d] {
|
if {[set_lang_d]} {
|
||||||
gdb_test_no_output "set width 0"
|
gdb_test_no_output "set width 0"
|
||||||
|
|
||||||
test_d_demangling
|
test_d_demangling
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ proc test_d_expressions {} {
|
|||||||
|
|
||||||
clean_restart
|
clean_restart
|
||||||
|
|
||||||
if [set_lang_d] {
|
if {[set_lang_d]} {
|
||||||
test_d_integer_literals
|
test_d_integer_literals
|
||||||
test_d_float_literals
|
test_d_float_literals
|
||||||
test_d_expressions
|
test_d_expressions
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ proc test_builtin_d_types_accepted {} {
|
|||||||
|
|
||||||
clean_restart
|
clean_restart
|
||||||
|
|
||||||
if [set_lang_d] {
|
if {[set_lang_d]} {
|
||||||
test_builtin_d_types_accepted
|
test_builtin_d_types_accepted
|
||||||
} else {
|
} else {
|
||||||
warning "D type tests suppressed."
|
warning "D type tests suppressed."
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ proc test_d_typeof {} {
|
|||||||
|
|
||||||
clean_restart
|
clean_restart
|
||||||
|
|
||||||
if [set_lang_d] {
|
if {[set_lang_d]} {
|
||||||
test_d_sizeof
|
test_d_sizeof
|
||||||
test_d_typeof
|
test_d_typeof
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user