Skip 'maintenance check xml-descriptions' if XML is disabled
authorYao Qi <yao.qi@linaro.org>
Fri, 15 Dec 2017 10:45:27 +0000 (10:45 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 15 Dec 2017 10:45:27 +0000 (10:45 +0000)
commit1af17fd9cc3a453e55ce5b8f556c51859bf40363
tree0dba40b370fdb2af41511e65c5b1fe57c6837d3f
parent97d4fac10fb9dac465d1d7e7a26c6b9cfb0b1326
Skip 'maintenance check xml-descriptions' if XML is disabled

I see the following test failure when gdb is configured without XML
support,

maintenance check xml-descriptions binutils-gdb/gdb/testsuite/../features
warning: Can not parse XML target description; XML support was disabled at compile time^M
Tested 29 XML files, 29 failed
(gdb) FAIL: gdb.gdb/unittest.exp: maintenance check xml-descriptions ${srcdir}/../features

gdb/testsuite:

2017-12-15  Yao Qi  <yao.qi@linaro.org>

* gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
if XML is disabled.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.gdb/unittest.exp