bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tcl error in gdb.java/jmisc.exp


From: Geoffrey Keating
Subject: tcl error in gdb.java/jmisc.exp
Date: Mon, 12 Mar 2001 00:23:23 -0800

When the automated tester tries to run jmisc.exp, it gets:

Running 
/sloth/delay/tbox/objs-20010310T085001Z/share/gdb-testsuite/gdb.java/jmisc.exp 
...
ERROR: tcl error sourcing 
/sloth/delay/tbox/objs-20010310T085001Z/share/gdb-testsuite/gdb.java/jmisc.exp.
ERROR: can't read "target_alias": no such variable
    while executing
"set CC "$file -B[file dirname $file]/ 
--specs=$tool_root_dir/$target_alias/libjava/libgcj-test.spec""
    (procedure "java_init" line 26)
    invoked from within
"java_init "
    (procedure "compile_java_from_source" line 6)
    invoked from within
"compile_java_from_source ${srcfile} ${binfile} "-g""
    (file 
"/sloth/delay/tbox/objs-20010310T085001Z/share/gdb-testsuite/gdb.java/jmisc.exp"
 line 32)
    invoked from within
"source 
/sloth/delay/tbox/objs-20010310T085001Z/share/gdb-testsuite/gdb.java/jmisc.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source 
/sloth/delay/tbox/objs-20010310T085001Z/share/gdb-testsuite/gdb.java/jmisc.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""

... and so no tests in that file run.

This seems to be a test framework bug.  The tester is running runtest
explicitly, on the gdb in $PATH, for the purpose of testing gcc.

-- 
Geoff Keating <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]