This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: gdb.gdbtk tests
- To: Jimmy Guo <guo at cup dot hp dot com>
- Subject: Re: gdb.gdbtk tests
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 24 Mar 2000 09:52:04 +1100
- CC: gdb at sourceware dot cygnus dot com, "Insight (GDB GUI)" <insight at sourceware dot cygnus dot com>
- Organization: Cygnus Solutions
- References: <Pine.LNX.4.10.10003231245280.9146-100000@hpcll168.cup.hp.com>
Jimmy Guo wrote:
>
> These tests apparently require top level tk/, tix/, itcl/, and libgui/
> (the Cygnus GUI) components be present in the source tree (per
> gdb/testsuite/lib/gdb.exp (gdbtk_start)). Will these components be part
> of public tree any time soon?
They are already available. Either download the insight+dejagnu
snapshot or checkout the module ``insight''.
> Besides, it's better to have a sanity check routine testing all
> dependencies before even trying gdb_compile, like the skip_hp_tests one.
>
> Some codes like below will be better:
>
> set path [file join <whatever path>]
> if ![file isdirectory $path] {
> perror <error message>
> return 1 (or exit 1)
> }
The ``GDB'' module doesn't include the gdb.gdbtk testsuites. However,
given that it's pretty easy to end up with that directory, a more robust
test would be better.
The MI testsuite checks that the GDB binary.
enjoy,
Andrew