[gdb/testsuite] Change kfail into xfail in gdb.ada/packed_tagged.exp
authorTom de Vries <tdevries@suse.de>
Mon, 11 May 2020 20:30:18 +0000 (22:30 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 11 May 2020 20:30:18 +0000 (22:30 +0200)
Test-case gdb.ada/packed_tagged.exp contains a kfail:
...
setup_kfail "gnat compiler bug" *-*-*
...

Kfails are used to indicate problems in gdb, xfails are used to indicate
problems in the environment.

A bug in the gnat compiler is a problem in the environment rather than gdb.

Fix this by changing the kfail into an xfail.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2020-05-11  Tom de Vries  <tdevries@suse.de>

* gdb.ada/packed_tagged.exp: Change kfail into xfail.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/packed_tagged.exp

index 188d0dfa7772bb94db1dedc3c0d5e114b2563318..112e90e1f2c7aeecbfcc6ccdb1e544f9cb2db81f 100644 (file)
@@ -1,3 +1,7 @@
+2020-05-11  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.ada/packed_tagged.exp: Change kfail into xfail.
+
 2020-05-11  Keith Seitz  <keiths@redhat.com>
 
        * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
index d6ee8454c5a9ccb69f42e513a9f220977daf0be4..ede5ca57085218ef7e00cea01b54d2a1e73eadab 100644 (file)
@@ -47,7 +47,7 @@ foreach_with_prefix scenario {all minimal} {
        }
        -re -wrap $kfail_re {
            if {$scenario == "minimal"} {
-               setup_kfail "gnat compiler bug" *-*-*
+               setup_xfail "gnat compiler bug" *-*-*
            }
            fail $gdb_test_name
        }
@@ -79,7 +79,7 @@ foreach_with_prefix scenario {all minimal} {
        }
        -re -wrap $kfail_re {
            if {$scenario == "minimal"} {
-               setup_kfail "gnat compiler bug" *-*-*
+               setup_xfail "gnat compiler bug" *-*-*
            }
            fail $gdb_test_name
        }