This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to test libstdc++-v3
On Tue, May 22, 2001 at 08:06:54PM -0400, Phil Edwards wrote:
> On Wed, May 23, 2001 at 03:17:58AM +0200, Carlo Wood wrote:
> > > We just had this discussion on the libstdc++ list (I had the same problem).
> > > You need to do 'cvs update -d' to get a new subdirectory, which contains
> > > the file telling dejagnu what to do.
> >
> > I always use -d, but I still have this problem.
> > What is that directory? Then I can get it somehow I suppose.
> > Or check that I am really missing it.
>
> testsuite/libstdc++-v3.dg is the directory
> testsuite/libstdc++-v3.dg/dg.exp is the file
>
> Should be there for both trunk and branch.
I have that file, but:
/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3>ls ../../../gcc-cvs-3.0/libstdc++-v3/testsuite/libstdc++-v3.dg
CVS/ dg.exp
/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3>make check
Making check in libio
make[1]: Entering directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/libio'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/libio'
Making check in libmath
make[1]: Entering directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/libmath'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/libmath'
Making check in libsupc++
make[1]: Entering directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/libsupc++'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/libsupc++'
Making check in src
make[1]: Entering directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/src'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/src'
Making check in testsuite
make[1]: Entering directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make check-DEJAGNU
make[2]: Entering directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/testsuite'
srcdir=`cd /usr/src/gcc/gcc-cvs-3.0/libstdc++-v3/testsuite && pwd`; export srcdir; \
EXPECT=`if [ -f /usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/../../expect/expect ] ; then echo /usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/../../expect/expect ; else echo expect ; fi`; export EXPECT; \
if [ -f ../../expect/expect ]; then \
TCL_LIBRARY=`cd /usr/src/gcc/gcc-cvs-3.0/libstdc++-v3/../tcl/library && pwd`; \
export TCL_LIBRARY; \
fi; \
runtest=`if [ -f /usr/src/gcc/gcc-cvs-3.0/libstdc++-v3/../dejagnu/runtest ] ; then echo /usr/src/gcc/gcc-cvs-3.0/libstdc++-v3/../dejagnu/runtest ; else echo runtest; fi`; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
$runtest --tool libstdc++-v3 --srcdir $srcdir ; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi
WARNING: Couldn't find the global config file.
WARNING: Couldn't find tool init file
Test Run By carlo on Wed May 23 05:01:34 2001
Native configuration is i686-pc-linux-gnu
=== libstdc++-v3 tests ===
Schedule of variations:
unix
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /usr/src/gcc/gcc-cvs-3.0/libstdc++-v3/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /usr/src/gcc/gcc-cvs-3.0/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp ...
ERROR: tcl error sourcing /usr/src/gcc/gcc-cvs-3.0/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp.
ERROR: couldn't compile regular expression pattern: quantifier operand invalid
while executing
"regsub "^$srcdir/?" $prog "" name"
(procedure "dg-test" line 37)
invoked from within
"dg-test $testcase $flags ${default-extra-flags}"
(procedure "dg-runtest" line 10)
invoked from within
"dg-runtest [lsort [glob -nocomplain $srcdir/*/*.cc]] \
"" $DEFAULT_CXXFLAGS"
(file "/usr/src/gcc/gcc-cvs-3.0/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp" line 43)
invoked from within
"source /usr/src/gcc/gcc-cvs-3.0/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source /usr/src/gcc/gcc-cvs-3.0/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""
=== libstdc++-v3 Summary ===
make[2]: Leaving directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make[1]: Leaving directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make[1]: Entering directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/usr/src/gcc/gcc-objdir-3.0/i686-pc-linux-gnu/libstdc++-v3'
--
Carlo Wood <carlo@alinoe.com>