kfail two tests in no-unwaited-for-left.exp for remote target
authorYao Qi <yao.qi@linaro.org>
Thu, 2 Apr 2015 12:51:31 +0000 (13:51 +0100)
committerYao Qi <yao.qi@linaro.org>
Thu, 2 Apr 2015 12:51:31 +0000 (13:51 +0100)
I see these two fails in no-unwaited-for-left.exp in remote testing
for aarch64-linux target.

...
continue
Continuing.
warning: Remote failure reply: E.No unwaited-for children left.

[Thread 1084] #2 stopped.
(gdb) FAIL: gdb.threads/no-unwaited-for-left.exp: continue stops when thread 2 exits

....
continue
Continuing.
warning: Remote failure reply: E.No unwaited-for children left.

[Thread 1081] #1 stopped.
(gdb) FAIL: gdb.threads/no-unwaited-for-left.exp: continue stops when the main thread exits

I checked the gdb.log on buildbot, and find that these two fails also
appear on Debian-i686-native-extended-gdbserver and Fedora-ppc64be-native-gdbserver-m64.
I recall that they are about local/remote parity, and related RSP is missing.
There has been already a PR 14618 about it.  This patch is to kfail them
on remote target.

gdb/testsuite:

2015-04-02  Yao Qi  <yao.qi@linaro.org>

* gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
is remote.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/no-unwaited-for-left.exp

index 491743f5194dcad52dc1a5ffc94705e518b8ada9..cba20368e21c7b9218fea5732f80aa8e4fa62120 100644 (file)
@@ -1,3 +1,8 @@
+2015-04-02  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
+       is remote.
+
 2015-04-02  Gary Benson <gbenson@redhat.com>
 
        * gdb.base/break-probes.exp: Cope with "target:" sysroot.
index 518301e7bccce101f93d3307dc31a3cfe42fbe8c..3a43d58b45e60d468cf98e5af309e103c1b42632 100644 (file)
@@ -37,6 +37,9 @@ gdb_test_no_output "set scheduler-locking on" \
     "enable scheduler-locking, for thread 2"
 
 # Continue.  Thread 2 exits, and the main thread was already stopped.
+if [is_remote target] {
+    setup_kfail "gdb/14618" "*-*-*"
+}
 gdb_test "continue" \
     "No unwaited-for children left." \
     "continue stops when thread 2 exits"
@@ -58,6 +61,9 @@ gdb_continue_to_breakpoint "break-here-2" ".* break-here-2 .*"
 gdb_test_no_output "set scheduler-locking on" \
     "enable scheduler-locking, for main thread"
 # The main thread exits, and thread 3 was already stopped.
+if [is_remote target] {
+    setup_kfail "gdb/14618" "*-*-*"
+}
 gdb_test "continue" \
     "No unwaited-for children left." \
     "continue stops when the main thread exits"
This page took 0.032362 seconds and 4 git commands to generate.