public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Running the test suite
@ 2002-07-30 12:45 Steven Bosscher
  0 siblings, 0 replies; only message in thread
From: Steven Bosscher @ 2002-07-30 12:45 UTC (permalink / raw)
  To: gcc-help

Hello,

I'm trying to figure out how to use DejaGNU to do "make check" for GCC.
I've bootstrapped the compiler, C front end only:

Reading specs from /opt/experimental/lib/gcc-lib/i586-pc-linux-gnu/3.3/specs
Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --prefix=/opt/experimental --program-suffix=-3.3 --enable-languages=c
Thread model: single
gcc versie 3.3 20020730 (experimental)

I've also installed DejaGNU:

# runtest -V    
WARNING: Couldn't find the global config file.
Expect version is	5.26
Tcl version is		8.0
Framework version is	1.4.1
steven:/home/steven/devel/gcc/objdir #

It doesn't work, I get a number of the same errors:

Running /home/steven/devel/gcc/gcc/gcc/testsuite/gcc.dg/debug/debug.exp ...
ERROR: tcl error sourcing /home/steven/devel/gcc/gcc/gcc/testsuite/gcc.dg/debug/debug.exp.
ERROR: wrong # args: should be "regsub ?switches? exp string subSpec varName"
    while executing
"regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text """
    (procedure "prune_warnings" line 148)
    invoked from within
"prune_warnings [lindex $status 1]"
    (procedure "default_target_compile" line 309)
    invoked from within
"default_target_compile $source $destfile $type $options"
    (procedure "target_compile" line 6)
    invoked from within
"target_compile $source $dest $type $options"
    (procedure "gcc_target_compile" line 28)
    invoked from within
"gcc_target_compile  "$srcdir/$subdir/trivial.c" "trivial.S" assembly  "additional_flags=$type""
    ("foreach" body line 2)
    invoked from within
"foreach type {-gdwarf-2 -gstabs -gstabs+ -gxcoff -gxcoff+ -gcoff} {
	set comp_output [gcc_target_compile  "$srcdir/$subdir/trivial.c" "trivial.S" asse..."
    invoked from within
"if ![info exists DEBUG_TORTURE_OPTIONS] {
    set DEBUG_TORTURE_OPTIONS ""
    foreach type {-gdwarf-2 -gstabs -gstabs+ -gxcoff -gxcoff+ -gcoff} {
	se..."
    (file "/home/steven/devel/gcc/gcc/gcc/testsuite/gcc.dg/debug/debug.exp" line 26)
    invoked from within
"source /home/steven/devel/gcc/gcc/gcc/testsuite/gcc.dg/debug/debug.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source /home/steven/devel/gcc/gcc/gcc/testsuite/gcc.dg/debug/debug.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""


I don't know tcl, what's wrong here. Could somebody help me out?

Greetz
Steven


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-30 19:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-30 12:45 Running the test suite Steven Bosscher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).