]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: fix xfail in gdb.ada/ptype_tagged_param.exp
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 31 Jan 2023 16:34:38 +0000 (11:34 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 31 Jan 2023 16:35:43 +0000 (11:35 -0500)
commitd8e88d10d8687d61ddb09fc0a0af563c43071555
treedf458b60df9cd91ad18d6973763ce4ce22112f93
parentbe527f283a344b9c8582296ec4a8a1bacb8c103e
gdb/testsuite: fix xfail in gdb.ada/ptype_tagged_param.exp

I see:

    ERROR: wrong # args: should be "xfail message"
        while executing
    "xfail "no debug info" $gdb_test_name"
        ("uplevel" body line 3)
        invoked from within
    "uplevel {
            if {!$has_runtime_debug_info} {
                xfail "no debug info" $gdb_test_name
            } else {
                fail $gdb_test_name
            }
        }"

This is because the xfail takes only one argument, fix that.

Change-Id: I2e304d4fd3aa61067c04b5dac2be2ed34dab3190
gdb/testsuite/gdb.ada/ptype_tagged_param.exp