]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: remove some duplicate test names from guile tests
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 13 May 2021 15:50:28 +0000 (16:50 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 13 May 2021 16:48:49 +0000 (17:48 +0100)
commit5c6f801d8e6740d9c1dfa7ff4a9ed2ec160a5e1d
treed7212f1b407ab925d3abc640f8734950d714fd71
parent0b2256f772883cf5ea9fecb0d720ca8ea8629198
gdb/testsuite: remove some duplicate test names from guile tests

The guile support library has some "tests" that are actually being
used to setup GDB ready for the real guile tests, e.g. we load some
support modules, and define some helper functions.

As this setup is done every time we call gdb_guile_runto_main, which
could be called multiple times in a single test script, this can lead
to duplicate PASS lines.

As this setup is all pretty basic, and isn't the actual focus of the
real tests, then in this commit I pass an empty test name through to
the gdb_test_no_output calls, the result of this is that the PASS
lines are no longer printed.  This removes some duplicate tests from
the gdb.guile/*.exp set of tests.

gdb/testsuite/ChangeLog:

* lib/guile.exp (gdb_scm_load_file): Use empty test name to
silence PASS lines.
(gdb_install_guile_module): Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb-guile.exp