This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Skip gdb.mi/list-thread-groups-available.exp if no xml support
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 03 Nov 2017 09:16:14 -0400
- Subject: [binutils-gdb] Skip gdb.mi/list-thread-groups-available.exp if no xml support
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 50ab6ace3803ca317f265dae6064494e3b7fa8cb ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 50ab6ace3803ca317f265dae6064494e3b7fa8cb
Skip gdb.mi/list-thread-groups-available.exp if no xml support
I see the following test fail in gdb (configured --with-expat=no),
-list-thread-groups --available^M
&"warning: Can not parse XML OS data; XML support was disabled at compile time\n"^M
^error,msg="Can not fetch data now."^M
(gdb) ^M
FAIL: gdb.mi/list-thread-groups-available.exp: list available thread groups (unexpected output)
This patch skips it if XML parsing in GDB is disabled, like what you did
in gdb.mi/mi-info-os.exp.
gdb/testsuite:
2017-11-03 Yao Qi <yao.qi@linaro.org>
* gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
in GDB is disabled.