This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Dejagnu error while remote testing cross gcc.


Khem Raj wrote:

Khem Raj wrote:

Daniel Kegel wrote:

Khem Raj wrote:

I stumbled over this issue while doing remote testing for cross-gcc 3.4.3. The tests run fine on native system. Has someone seen this problem before.
runtest -version


WARNING: Couldn't find the global config file.
Expect version is 5.42.1
Tcl version is 8.4
Framework version is 1.4.4

ERROR: (DejaGnu) proc "gcc_load /local/BUILD/gcc-3.4.3/objdir/gcc/testsuite/abs-1.x0 {} {}" does not exist.
The error code is NONE
The info on the error is:
close: spawn id exp6 not open
while executing
"close -i exp6"
invoked from within
"catch "close -i $spawn_id""




Hi Khem,
I haven't played with the tests for some time now, so I'm
too rusty to help. If nobody here has a good answer, you
might try posting on
http://lists.gnu.org/mailman/listinfo/dejagnu

- Dan



Dan


There is an old message I found in dejagnu archives from you :-)
http://lists.gnu.org/archive/html/dejagnu/2003-06/msg00077.html

may be this will ring some bells

Khem

btw. I copied standard.exp from /usr/share/dejagnu to ~/kraj/boards and added

~/kraj/bin to
lappend boards_dir "~/board"

in my master.exp and I am able to proceed.

Thanks

Khem


The following patch to crosstest.sh will fix this problem.




--
Khem Raj
MontaVista Software Inc.
1237 E. Arques Ave.Sunnyvale CA 94085
web http://www.mvista.com

--- crosstest.sh.orig	2005-05-10 12:25:45.000000000 -0700
+++ crosstest.sh	2005-05-10 12:26:26.000000000 -0700
@@ -59,6 +59,7 @@
 mkdir -p $TOP_DIR/boards
 cat > $TOP_DIR/boards/master.exp <<_EOF_
 lappend boards_dir $TOP_DIR/boards
+lappend boards_dir /usr/share/dejagnu
 set myboard \$target_triplet
 set target_list [list \$target_triplet]
 _EOF_

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]