This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] testsuite: diagnose a running GDB in gdb_skip_xml_tests
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 01 Feb 2017 09:54:00 -0500
- Subject: [binutils-gdb] testsuite: diagnose a running GDB in gdb_skip_xml_tests
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 787f00256b3eabe34b8599fca4df0243df80d5ca ***
Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 787f00256b3eabe34b8599fca4df0243df80d5ca
testsuite: diagnose a running GDB in gdb_skip_xml_tests
If GDB is running when gdb_skip_xml_tests is called with
--target_board=native-extended-gdbserer.exp, it fails with:
(gdb) FAIL: ....exp: set tdesc filename .../trivial.xml (got interactive prompt)
monitor exit
Diagnose this in gdb_skip_xml_tests to generate a more meaningful error message:
ERROR: tcl error sourcing ....exp.
ERROR: GDB must not be running in gdb_skip_xml_tests.
while executing
[...]
testsuite/
* lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.