aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-05-11 22:30:18 +0200
committerTom de Vries <tdevries@suse.de>2020-05-11 22:30:18 +0200
commite000211765b57e0a1835f2ecea250dd51878fa5f (patch)
tree04b9055d6113637c10d26a40c94051c1afeec745
parent53f539a3d77c2fc3278f3c60fea83cd96c4464d6 (diff)
downloadgdb-e000211765b57e0a1835f2ecea250dd51878fa5f.zip
gdb-e000211765b57e0a1835f2ecea250dd51878fa5f.tar.gz
gdb-e000211765b57e0a1835f2ecea250dd51878fa5f.tar.bz2
[gdb/testsuite] Change kfail into xfail in gdb.ada/packed_tagged.exp
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.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.ada/packed_tagged.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 188d0df..112e90e 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.ada/packed_tagged.exp b/gdb/testsuite/gdb.ada/packed_tagged.exp
index d6ee845..ede5ca5 100644
--- a/gdb/testsuite/gdb.ada/packed_tagged.exp
+++ b/gdb/testsuite/gdb.ada/packed_tagged.exp
@@ -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
}