[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How does standard.exp get loaded?
From: |
Dan Kegel |
Subject: |
How does standard.exp get loaded? |
Date: |
Thu, 12 Jun 2003 12:05:34 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529 |
I'm trying to run gcc's make check-gcc, but
with either gcc-3.2.3 and gcc-3.3, the very first testcase
in the directory gcc/testsuite/gcc.c-torture/execute blows up
with the error
ERROR: (DejaGnu) proc "gcc_load
/build/ppc-750-linux-gnu/gcc-3.3-glibc-2.3.2/build-gcc/gcc/testsuite/20000112-1.x0 {}
{}" does not exist.
I used the commandline
RUNTESTFLAGS="-v -v -v -v execute.exp=20000112-1.c" make check-gcc
to run just that one test, and it reproduced the problem. (It took several
tries to figure out that execute.exp was the right thing to say -- I at
first tried c-torture.exp, and that didn't work at all.)
Looking at the log, I tracked the problem down to the line
set result [gcc_load "$execname" "" ""]
in gcc/testsuite/lib/c-torture-execute.exp.
It seems gcc_load was not being defined. I think it's usually defined
in standard.exp, and dejagnu was indeed trying to load standard.exp
right in runtest.exp, right before it loads the specific board:
search_and_load_file "standard board description file $type" standard.exp
$dirlist;
set found [search_and_load_file "board description file $type"
${board_name}.exp $dirlist];
but that load of standard.exp always fails, because standard.exp
lives in share/dejagnu/standard.exp, not in share/dejagnu/baseboards.
Indeed, copying standard.exp to baseboards gets me past this
problem (and onto the fact that that test still fails -- but at
least it gets executed!).
How, then, is standard.exp normally loaded?
Thanks,
Dan
--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
- How does standard.exp get loaded?,
Dan Kegel <=