This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
gdb.gdbtk tests
- To: gdb at sourceware dot cygnus dot com
- Subject: gdb.gdbtk tests
- From: Jimmy Guo <guo at cup dot hp dot com>
- Date: Thu, 23 Mar 2000 12:53:58 -0800 (PST)
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?
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)
}
- Jimmy Guo, guo@cup.hp.com