public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs 1.0.3a and "make check"
@ 1998-07-07  5:29 Scott Gifford
  1998-07-07 22:54 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: Scott Gifford @ 1998-07-07  5:29 UTC (permalink / raw)
  To: egcs

  I have been experimenting with egcs 1.0.3a, but can't seem to get it to 
pass the "make check" testing phase.  Should it currently pass all of its 
test, or is it normal for some to fail?

  I bootstrapped it with GCC 2.7.2.3; my system is a RedHat 5.0 Linux/GNU 
distribution.  I am running the tests with the version of dejagnu 
recommended in the FAQ (dejagnu-971222), and have installed a version of 
binutils which should work (binutils-2.9.1.0.4).

  Only g++ and g77 are failing the tests; here is a summary of the errors 
I am seeing:

                === g++ tests ===
[ ... ]

XPASS: g++.jason/destruct3.C - (test for bogus messages, line 38)
XPASS: g++.mike/dyncast1.C  Execution test
XPASS: g++.mike/dyncast2.C  Execution test
FAIL: g++.mike/p6610a.C  Execution test

                === g++ Summary ===

# of expected passes            3399
# of unexpected failures        1
# of unexpected successes       3
# of expected failures          80
# of untested testcases         6

                === g77 tests ===

[ ... ]

FAIL: g77.f-torture/execute/dnrm2.f execution,  -O2 -fomit-frame-pointer 
-finline-functions -funroll-loops 
FAIL: g77.f-torture/execute/dnrm2.f execution,  -O2 -fomit-frame-pointer 
-finline-functions -funroll-all-loops 

                === g77 Summary ===

# of expected passes            130
# of unexpected failures        2

---------------------
I have also appended a complete transcript of my "make -k check".  If 
this is not a known problem, I will be happy to assist in debugging in 
any way I can.

Thanks for any info or suggestions,

------Scott.


[sgifford@yoda egcs-1.0.3a]$ make -k check
make[1]: Entering directory `/home/sgifford/src/egcs-1.0.3a/etc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/etc'
make[1]: Entering directory `/home/sgifford/src/egcs-1.0.3a/libiberty'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/libiberty'
make[1]: Entering directory `/home/sgifford/src/egcs-1.0.3a/texinfo'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/texinfo'
make[1]: Entering directory `/home/sgifford/src/egcs-1.0.3a/libiberty'
make[2]: Entering directory `/home/sgifford/src/egcs-1.0.3a/libiberty'
make[2]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/libiberty'
make[1]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/libiberty'
make[1]: Entering directory `/home/sgifford/src/egcs-1.0.3a/texinfo'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/texinfo'
make[1]: Entering directory `/home/sgifford/src/egcs-1.0.3a/gcc'
if [ -f libgcc2.ready ] ; then \
        true; \
else \
        touch libgcc2.ready; \
fi
case "c proto gcov  c++ f77 objc" in \
*f77*) top=`pwd`; \
  cd f/runtime && make \
    GCC_FOR_TARGET="`case '/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/' in \
     './xgcc -B./') echo ${top}/xgcc -B${top}/;; \
     *) echo '/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/';; esac`" \
    GCC_FLAGS="" CROSS="" AR_FLAGS="rc" AR="ar" BISON="bison" 
BISONFLAGS="" CC="gcc" CFLAGS="-g -O2" X_CFLAGS="" LDFLAGS="" LEX="flex" 
LEXFLAGS="" 
MAKEINFO="/home/sgifford/src/egcs-1.0.3a/texinfo/makeinfo/makeinfo " 
MAKEINFOFLAGS="" RANLIB="ranlib" RANLIB_TEST="[ -f /usr/bin/ranlib -o -f 
/bin/ranlib ]" SHELL="/bin/sh" exec_prefix="/usr/local" 
prefix="/usr/local" tooldir="/usr/local/i586-pc-linux-gnu" 
bindir="/usr/local/bin" 
libsubdir="/usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.90.29" \
    all ;; \
esac
make[2]: Entering directory `/home/sgifford/src/egcs-1.0.3a/gcc/f/runtime'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/gcc/f/runtime'
make[1]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/gcc'
make[1]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libiberty'
make[2]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libiberty'
make[2]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libiberty'
make[2]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libiberty'
if [ -z "" ]; then \
  true; \
else \
  rootpre=`pwd`/; export rootpre; \
  srcrootpre=`cd .; pwd`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
        flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
        if (cd ../${dir}/${lib}; make "AR=ar" "AR_FLAGS=rc" 
"CC=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" "CFLAGS=-g -O2" "LIBCFLAGS=-g -O2" 
"EXTRA_OFILES=" "HDEFINES=" "INSTALL=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c" "INSTALL_DATA=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c -m 644" 
"INSTALL_PROGRAM=/bin/sh /home/sgifford/src/egcs-1.0.3a/install-sh -c " 
"LDFLAGS=" "LOADLIBES=" "PICFLAG=" "RANLIB=ranlib" "SHELL=/bin/sh" \
                        CFLAGS="-g -O2 ${flags}" \
                        CXXFLAGS="-O2 -g -fvtable-thunks ${flags}" \
                        LIBCFLAGS="-g -O2 ${flags}" \
                        LIBCXXFLAGS="-O2 -g -fvtable-thunks 
-fno-implicit-templates ${flags}" \
                        all); then \
          true; \
        else \
          exit 1; \
        fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[2]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libiberty'
make[1]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libiberty'
make[1]: Entering directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
make[2]: Entering directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
if [ -z "" ]; then \
  true; \
else \
  rootpre=`pwd`/; export rootpre; \
  srcrootpre=`cd .; pwd`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
        flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
        if (cd ../${dir}/${lib}; make "INSTALL=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c" "INSTALL_DATA=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c -m 644" 
"INSTALL_PROGRAM=/bin/sh /home/sgifford/src/egcs-1.0.3a/install-sh -c " 
"prefix=/usr/local" "exec_prefix=/usr/local" 
"tooldir=/usr/local/i586-pc-linux-gnu" "AR=ar" "AR_FLAGS=rc" 
"CC=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" 
"CXX=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-O2 -g 
-fvtable-thunks" "NM=nm" "RANLIB=ranlib" "LIBCFLAGS=-g -O2" 
"LIBCXXFLAGS=-O2 -g -fvtable-thunks -fno-implicit-templates" "LOADLIBES=" 
"LDFLAGS=" 
"MAKEINFO=/home/sgifford/src/egcs-1.0.3a/texinfo/makeinfo/makeinfo " 
"SHLIB=" "SHCURSES=" "PICFLAG=" "RUNTESTFLAGS=" \
                        CFLAGS="-g -O2 ${flags}" \
                        CXXFLAGS="-O2 -g -fvtable-thunks ${flags}" \
                        LIBCFLAGS="-g -O2 ${flags}" \
                        LIBCXXFLAGS="-O2 -g -fvtable-thunks 
-fno-implicit-templates ${flags}" \
                        all); then \
          true; \
        else \
          exit 1; \
        fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[2]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
make[2]: Entering directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
cd tests; make all ...
make[3]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/tests'
make[3]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/tests'
cd dbz; make all ...
make[3]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/dbz'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/dbz'
cd stdio; make all ...
make[3]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/stdio'
make[3]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/stdio'
cd testsuite; make all ...
make[3]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/testsuite'
make[3]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/testsuite'
make[2]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
make[1]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
make[1]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++'
cd ../libio ; make "INSTALL=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c" "INSTALL_DATA=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c -m 644" 
"INSTALL_PROGRAM=/bin/sh /home/sgifford/src/egcs-1.0.3a/install-sh -c " 
"prefix=/usr/local" "exec_prefix=/usr/local" 
"tooldir=/usr/local/i586-pc-linux-gnu" "AR=ar" "AR_FLAGS=rc" 
"CC=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" 
"CXX=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-O2 -g 
-fvtable-thunks" "NM=nm" "RANLIB=ranlib" "LIBCFLAGS=-g -O2" 
"LIBCXXFLAGS=-O2 -g -fvtable-thunks -fno-implicit-templates" "LOADLIBES=" 
"LDFLAGS=" 
"MAKEINFO=/home/sgifford/src/egcs-1.0.3a/texinfo/makeinfo/makeinfo " 
"SHLIB=libstdc++.so.2.8.0" "SHCURSES=" "PICFLAG=" "RUNTESTFLAGS=" 
iostream.list
make[2]: Entering directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
make[2]: `iostream.list' is up to date.
make[2]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
make[2]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++'
if [ -z "" ]; then \
  true; \
else \
  rootpre=`pwd`/; export rootpre; \
  srcrootpre=`cd .; pwd`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
        flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
        if (cd ../${dir}/${lib}; make "INSTALL=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c" "INSTALL_DATA=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c -m 644" 
"INSTALL_PROGRAM=/bin/sh /home/sgifford/src/egcs-1.0.3a/install-sh -c " 
"prefix=/usr/local" "exec_prefix=/usr/local" 
"tooldir=/usr/local/i586-pc-linux-gnu" "AR=ar" "AR_FLAGS=rc" 
"CC=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" 
"CXX=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-O2 -g 
-fvtable-thunks" "NM=nm" "RANLIB=ranlib" "LIBCFLAGS=-g -O2" 
"LIBCXXFLAGS=-O2 -g -fvtable-thunks -fno-implicit-templates" "LOADLIBES=" 
"LDFLAGS=" 
"MAKEINFO=/home/sgifford/src/egcs-1.0.3a/texinfo/makeinfo/makeinfo " 
"SHLIB=libstdc++.so.2.8.0" "SHCURSES=" "PICFLAG=" "RUNTESTFLAGS=" \
                        CFLAGS="-g -O2 ${flags}" \
                        CXXFLAGS="-O2 -g -fvtable-thunks ${flags}" \
                        LIBCFLAGS="-g -O2 ${flags}" \
                        LIBCXXFLAGS="-O2 -g -fvtable-thunks 
-fno-implicit-templates ${flags}" \
                        all); then \
          true; \
        else \
          exit 1; \
        fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[2]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++'
make[2]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++'
cd tests; make all ...
make[3]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++/tests'
make[3]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++/tests'
cd testsuite; make all ...
make[3]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++/testsuite'
make[3]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++/testsuite'
make[2]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++'
make[1]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++'
make[1]: Entering directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
rootme=`pwd`/; export rootme; \
SAVE_LLPATH="${SAVE_LLPATH-$LD_LIBRARY_PATH}"; export SAVE_LLPATH; \
LD_LIBRARY_PATH="${rootme}../libstdc++:${rootme}../libg++:$SAVE_LLPATH"; \
export LD_LIBRARY_PATH; \
make "DODIRS=tests dbz stdio testsuite" DO=check "INSTALL=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c" "INSTALL_DATA=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c -m 644" 
"INSTALL_PROGRAM=/bin/sh /home/sgifford/src/egcs-1.0.3a/install-sh -c " 
"prefix=/usr/local" "exec_prefix=/usr/local" 
"tooldir=/usr/local/i586-pc-linux-gnu" "AR=ar" "AR_FLAGS=rc" 
"CC=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" 
"CXX=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-O2 -g 
-fvtable-thunks" "NM=nm" "RANLIB=ranlib" "LIBCFLAGS=-g -O2" 
"LIBCXXFLAGS=-O2 -g -fvtable-thunks -fno-implicit-templates" "LOADLIBES=" 
"LDFLAGS=" 
"MAKEINFO=/home/sgifford/src/egcs-1.0.3a/texinfo/makeinfo/makeinfo " 
"SHLIB=" "SHCURSES=" "PICFLAG=" "RUNTESTFLAGS=" subdir_do
make[2]: Entering directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
cd tests; make check ...
make[3]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/tests'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/tests'
cd dbz; make check ...
make[3]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/dbz'
/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/ -g -O2 -I. -I.. -I./.. 
-DDBZ_FINISH='_IO_flush_all()' -c byteflip.c
/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/  byteflip.o  ../libio.a 
../../libiberty/libiberty.a  -o byteflip
/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/ -g -O2 -I. -I.. -I./.. 
-DDBZ_FINISH='_IO_flush_all()' -DHAVERFCIZE -c rdbzmain.c
/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/ -g -O2 -I. -I.. -I./.. 
-DDBZ_FINISH='_IO_flush_all()' -DDBZDEBUG -DDEFSIZE=4019 -c rdbz.c
/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/ -g -O2 -I. -I.. -I./.. 
-DDBZ_FINISH='_IO_flush_all()' -c case.c
/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/  rdbzmain.o rdbz.o case.o  
../libio.a ../../libiberty/libiberty.a  -o rdbz
/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/ -g -O2 -I. -I.. -I./.. 
-DDBZ_FINISH='_IO_flush_all()' -c fake.c
/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/ -g -O2 -I. -I.. -I./.. 
-DDBZ_FINISH='_IO_flush_all()' -c random.c
/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/  fake.o random.o  ../libio.a 
../../libiberty/libiberty.a  -o fake
./fake -t -e 75 3300 >hist3.3
./fake -t -e 75 10000 >hist10
: 'WARNING:  creates about 2MB of debris; do "make rclean" afterward'
rm -f dbase dbase[23] dbase.* dbase[23].*
test ! -d xx || rmdir xx
: crude check of synthetic history file
( sed 25q hist3.3 ; tail -25 hist3.3 ) >histjunk
cmp histjunk ./firstlast25
rm histjunk
: basic tests, exercising as many options as possible
cp hist3.3 dbase
mkdir xx
chmod -w xx
./rdbz -E 1000 -0 -M -i -S -u -U -C xx dbase
1000
2000
3000
rmdir xx
sed '/> 0/d' hist3.3 >dbase.used
test "`cat dbase.used | wc -l`" -eq "`sed -n '2s/ .*//p' dbase.dir`" ;
cp hist3.3 dbase2
./rdbz -E 1000 -0 -p 2679 -t '  ' dbase2
1000
2000
3000
cmp hist3.3 dbase
cmp dbase dbase2
cmp dbase.dir dbase2.dir
cmp dbase.pag dbase2.pag
./rdbz -E 1000 -0 -c dbase
1000
2000
3000
./rdbz -E 1000 -0 -c -i -q -M -U dbase
1000
2000
3000
: build a database and then add to it
sed 1000q hist3.3 >dbase2
sed 1,1000d hist3.3 >dbase2.add
./rdbz -E 1000 -0 dbase2
1000
./rdbz -E 1000 -0 -a dbase2 dbase2.add
1000
2000
cmp dbase dbase2
cmp dbase.dir dbase2.dir
cmp dbase.pag dbase2.pag
: build based on existing one, test extraction and readonly files
./rdbz -E 1000 -0 -f dbase dbase2
1000
2000
3000
test "`cat dbase.used | wc -l`" -eq "`awk 'NR==2{print $1}' dbase2.dir`" ;
test "`cat dbase.used | wc -l`" -eq "`awk 'NR==2{print $2}' dbase2.dir`" ;
chmod -w dbase2.dir dbase2.pag
./rdbz -E 1000 -x dbase2 dbase >dbase.temp
1000
2000
3000
cmp dbase.used dbase.temp
: try some small case perversions
sed 's/\(@[^    ]*\)A/\1a/' dbase >dbase.ick
./rdbz -E 1000 -x dbase2 dbase.ick >dbase.temp
1000
2000
3000
cmp dbase.used dbase.temp
sed -n 's/A\([^         ]*@\)/a\1/p' dbase >dbase.ick
./rdbz -x dbase2 dbase.ick >dbase.temp
test ! -s dbase.temp ;
rm -f dbase2.dir dbase2.pag
: try it without tags, case-insensitive, with case perversions
./rdbz -E 1000 -0 -p '0 b 1' dbase2
1000
2000
3000
tr '[A-M][n-z]' '[a-m][N-Z]' <dbase2 >dbase.ick
./rdbz -E 1000 -x dbase2 dbase.ick >dbase.temp
1000
2000
3000
cmp dbase.used dbase.temp
rm -f dbase.temp dbase.ick
: test various perversions of byte ordering
awk -f ./revbytes dbase.dir >dbase2.dir
./byteflip `./getmap dbase.dir` `./getmap dbase2.dir` <dbase.pag >dbase2.pag
cp dbase dbase2
./rdbz -E 1000 -0 -c dbase2
1000
2000
3000
awk -f ./altbytes dbase.dir >dbase2.dir
dd conv=swab <dbase.pag >dbase2.pag
31+1 records in
31+1 records out
./rdbz -E 1000 -0 -c dbase2
1000
2000
3000
cp dbase2 dbase3
./rdbz -E 1000 -0 -f dbase2 dbase3
1000
2000
3000
./rdbz -E 1000 -0 -c dbase3
1000
2000
3000
test " `./getmap dbase2.dir`" = " `./getmap dbase3.dir`" ;
: test massive overflow, throw in case sensitivity and tag mask
cp hist10 dbase
./rdbz -E 1000 -0 -p '0 0 7ffc0000' dbase
1000
2000
3000
4000
5000
6000
7000
8000
9000
10000
./rdbz -E 1000 -0 -cq dbase
1000
2000
3000
4000
5000
6000
7000
8000
9000
10000
sed 100q dbase | egrep '[aA].*  ' | tr aA Aa >dbase.ick
./rdbz -x dbase dbase.ick >dbase.temp
test ! -s dbase.temp ;
: success!
make rclean
make[4]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/dbz'
rm -f dbase dbase[23] dbase.* dbase[23].* fake fake.o random.o
rm -f rdbz rdbz.o rdbzmain.o hist3.3 hist10 byteflip byteflip.o
rm -f histjunk core stamp-r? *~
test ! -d xx || rmdir xx
make[4]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/dbz'
make[3]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/dbz'
cd stdio; make check ...
make[3]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/stdio'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/stdio'
cd testsuite; make check ...
make[3]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/testsuite'
Making a new config file...
rootme=`pwd`; export rootme; \
srcdir=. ; export srcdir ; \
EXPECT=`if [ -f ${rootme}/../../expect/expect ] ; then echo 
${rootme}/../../expect/expect ; else echo expect ; fi` ; export EXPECT ; \
if [ -f ${rootme}/../../expect/expect ] ; then  \
  TCL_LIBRARY=${srcdir}/../../tcl/library ; \
  export TCL_LIBRARY ; fi ; \
` if [ -f ${srcdir}/../../dejagnu/runtest ]; then echo 
${srcdir}/../../dejagnu/runtest; else if [ "i586-pc-linux-gnu" = 
"i586-pc-linux-gnu" ]; then echo runtest; else t=''; echo runtest | sed 
-e '' $t; fi; fi`  
WARNING: Couldn't find the global config file.
Test Run By sgifford on Mon Jul  6 21:31:59 1998
Native configuration is i586-pc-linux-gnu

                === libio tests ===

Running target unix
Using /usr/local/bin/../share/dejagnu/baseboards/unix.exp as board 
description file for target.
Using /usr/local/bin/../share/dejagnu/config/unix.exp as generic 
interface file for target.
Using ./config/default.exp as tool-and-target-specific interface file.
Running ./libio.tests/hounddog.exp ...
Running ./libio.tests/putbackdog.exp ...
Running ./libio.tests/tFile.exp ...
Running ./libio.tests/tfformat.exp ...
Running ./libio.tests/tiformat.exp ...
Running ./libio.tests/tiomanip.exp ...
Running ./libio.tests/tiomisc.exp ...
Running ./libio.tests/tstdiomisc.exp ...

                === libio Summary ===

# of expected passes            40
make[3]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libio/testsuite'
make[2]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
make[1]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
make[1]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++'
cd ../libio ; make "INSTALL=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c" "INSTALL_DATA=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c -m 644" 
"INSTALL_PROGRAM=/bin/sh /home/sgifford/src/egcs-1.0.3a/install-sh -c " 
"prefix=/usr/local" "exec_prefix=/usr/local" 
"tooldir=/usr/local/i586-pc-linux-gnu" "AR=ar" "AR_FLAGS=rc" 
"CC=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" 
"CXX=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-O2 -g 
-fvtable-thunks" "NM=nm" "RANLIB=ranlib" "LIBCFLAGS=-g -O2" 
"LIBCXXFLAGS=-O2 -g -fvtable-thunks -fno-implicit-templates" "LOADLIBES=" 
"LDFLAGS=" 
"MAKEINFO=/home/sgifford/src/egcs-1.0.3a/texinfo/makeinfo/makeinfo " 
"SHLIB=libstdc++.so.2.8.0" "SHCURSES=" "PICFLAG=" "RUNTESTFLAGS=" 
iostream.list
make[2]: Entering directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
make[2]: `iostream.list' is up to date.
make[2]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/libraries/libio'
rootme=`pwd`/; export rootme; \
SAVE_LLPATH="${SAVE_LLPATH-$LD_LIBRARY_PATH}"; export SAVE_LLPATH; \
LD_LIBRARY_PATH="${rootme}../libstdc++:${rootme}../libg++:$SAVE_LLPATH"; \
export LD_LIBRARY_PATH; \
make "DODIRS=tests testsuite" DO=check "INSTALL=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c" "INSTALL_DATA=/bin/sh 
/home/sgifford/src/egcs-1.0.3a/install-sh -c -m 644" 
"INSTALL_PROGRAM=/bin/sh /home/sgifford/src/egcs-1.0.3a/install-sh -c " 
"prefix=/usr/local" "exec_prefix=/usr/local" 
"tooldir=/usr/local/i586-pc-linux-gnu" "AR=ar" "AR_FLAGS=rc" 
"CC=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" 
"CXX=/home/sgifford/src/egcs-1.0.3a/gcc/xgcc 
-B/home/sgifford/src/egcs-1.0.3a/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-O2 -g 
-fvtable-thunks" "NM=nm" "RANLIB=ranlib" "LIBCFLAGS=-g -O2" 
"LIBCXXFLAGS=-O2 -g -fvtable-thunks -fno-implicit-templates" "LOADLIBES=" 
"LDFLAGS=" 
"MAKEINFO=/home/sgifford/src/egcs-1.0.3a/texinfo/makeinfo/makeinfo " 
"SHLIB=libstdc++.so.2.8.0" "SHCURSES=" "PICFLAG=" "RUNTESTFLAGS=" subdir_do
make[2]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++'
cd tests; make check ...
make[3]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++/tests'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++/tests'
cd testsuite; make check ...
make[3]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++/testsuite'
Making a new config file...
rootme=`pwd`; export rootme; \
srcdir=. ; export srcdir ; \
EXPECT=`if [ -f ${rootme}/../../expect/expect ] ; then echo 
${rootme}/../../expect/expect ; else echo expect ; fi` ; export EXPECT ; \
if [ -f ${rootme}/../../expect/expect ] ; then  \
  TCL_LIBRARY=${srcdir}/../../tcl/library ; \
  export TCL_LIBRARY ; fi ; \
`if [ -f ${srcdir}/../../dejagnu/runtest ] ; then echo 
${srcdir}/../../dejagnu/runtest ; else echo runtest; fi`  
WARNING: Couldn't find the global config file.
Test Run By sgifford on Mon Jul  6 21:34:49 1998
Native configuration is i586-pc-linux-gnu

                === libstdc++ tests ===

Running target unix
Using /usr/local/bin/../share/dejagnu/baseboards/unix.exp as board 
description file for target.
Using /usr/local/bin/../share/dejagnu/config/unix.exp as generic 
interface file for target.
Using ./config/default.exp as tool-and-target-specific interface file.
Running ./libstdc++.tests/test.exp ...

                === libstdc++ Summary ===

# of expected passes            30
make[3]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++/testsuite'
make[2]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++'
make[1]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libstdc++'
make[1]: Entering directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libiberty'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory 
`/home/sgifford/src/egcs-1.0.3a/libraries/libiberty'
make[1]: Entering directory `/home/sgifford/src/egcs-1.0.3a/gcc'
Making a new config file...
if [ -d testsuite ]; then \
  true; \
else \
  mkdir testsuite; \
fi
rm -rf testsuite/site.exp
cp site.exp testsuite/site.exp
rootme=`pwd`; export rootme; \
srcdir=`cd .; pwd` ; export srcdir ; \
cd testsuite; \
EXPECT=expect ; export EXPECT ; \
if [ -f ${rootme}/../expect/expect ] ; then  \
   TCL_LIBRARY=${srcdir}/../tcl/library ; \
   export TCL_LIBRARY ; fi ; \
runtest --tool gcc 
WARNING: Couldn't find the global config file.
Test Run By sgifford on Mon Jul  6 21:39:04 1998
Native configuration is i586-pc-linux-gnu

                === gcc tests ===

Running target unix
Using /usr/local/bin/../share/dejagnu/baseboards/unix.exp as board 
description file for target.
Using /usr/local/bin/../share/dejagnu/config/unix.exp as generic 
interface file for target.
Using /home/sgifford/src/egcs-1.0.3a/gcc/testsuite/config/default.exp as 
tool-and-target-specific interface file.
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.c-torture/code_quality/code_quality.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.c-torture/compile/compile.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.c-torture/execute/execute.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.c-torture/noncompile/noncompile.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.c-torture/special/special.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp ...
Running /home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.dg/dg.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.failure/failure.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.misc-tests/acker1.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.misc-tests/dg-test.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.misc-tests/dhry.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.misc-tests/gcov.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.misc-tests/matrix1.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.misc-tests/mg.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.misc-tests/msgs.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.misc-tests/optbench.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.misc-tests/sieve.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/gcc.misc-tests/sort2.exp ...

                === gcc Summary ===

# of expected passes            4883
# of expected failures          5
# of unsupported tests          7
/home/sgifford/src/egcs-1.0.3a/gcc/xgcc version egcs-2.90.29 980515 
(egcs-1.0.3 release)

rootme=`pwd`; export rootme; \
srcdir=`cd .; pwd` ; export srcdir ; \
cd testsuite; \
EXPECT=expect ; export EXPECT ; \
if [ -f ${rootme}/../expect/expect ] ; then  \
   TCL_LIBRARY=${srcdir}/../tcl/library ; \
    export TCL_LIBRARY ; fi ; \
runtest --tool g++ 
WARNING: Couldn't find the global config file.
Test Run By sgifford on Mon Jul  6 22:05:48 1998
Native configuration is i586-pc-linux-gnu

                === g++ tests ===

Running target unix
Using /usr/local/bin/../share/dejagnu/baseboards/unix.exp as board 
description file for target.
Using /usr/local/bin/../share/dejagnu/config/unix.exp as generic 
interface file for target.
Using /home/sgifford/src/egcs-1.0.3a/gcc/testsuite/config/default.exp as 
tool-and-target-specific interface file.
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/g++.old-deja/old-deja.exp ...
XPASS: g++.jason/destruct3.C - (test for bogus messages, line 38)
XPASS: g++.mike/dyncast1.C  Execution test
XPASS: g++.mike/dyncast2.C  Execution test
FAIL: g++.mike/p6610a.C  Execution test

                === g++ Summary ===

# of expected passes            3399
# of unexpected failures        1
# of unexpected successes       3
# of expected failures          80
# of untested testcases         6
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/../xgcc version egcs-2.90.29 
980515 (egcs-1.0.3 release)

make[1]: [check-g++] Error 1 (ignored)
rootme=`pwd`; export rootme; \
srcdir=`cd .; pwd` ; export srcdir ; \
cd testsuite; \
EXPECT=expect ; export EXPECT ; \
if [ -f ${rootme}/../expect/expect ] ; then  \
   TCL_LIBRARY=${srcdir}/../tcl/library ; \
   export TCL_LIBRARY ; fi ; \
runtest --tool g77 
WARNING: Couldn't find the global config file.
Test Run By sgifford on Mon Jul  6 22:29:02 1998
Native configuration is i586-pc-linux-gnu

                === g77 tests ===

Running target unix
Using /usr/local/bin/../share/dejagnu/baseboards/unix.exp as board 
description file for target.
Using /usr/local/bin/../share/dejagnu/config/unix.exp as generic 
interface file for target.
Using /home/sgifford/src/egcs-1.0.3a/gcc/testsuite/config/default.exp as 
tool-and-target-specific interface file.
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/g77.f-torture/compile/compile.exp ...
Running 
/home/sgifford/src/egcs-1.0.3a/gcc/testsuite/g77.f-torture/execute/execute.exp ...
FAIL: g77.f-torture/execute/dnrm2.f execution,  -O2 -fomit-frame-pointer 
-finline-functions -funroll-loops 
FAIL: g77.f-torture/execute/dnrm2.f execution,  -O2 -fomit-frame-pointer 
-finline-functions -funroll-all-loops 

                === g77 Summary ===

# of expected passes            130
# of unexpected failures        2
/home/sgifford/src/egcs-1.0.3a/gcc/g77 version egcs-2.90.29 980515 
(egcs-1.0.3 release)

make[1]: [check-g77] Error 1 (ignored)
make[1]: Leaving directory `/home/sgifford/src/egcs-1.0.3a/gcc'


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: egcs 1.0.3a and "make check"
  1998-07-07  5:29 egcs 1.0.3a and "make check" Scott Gifford
@ 1998-07-07 22:54 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1998-07-07 22:54 UTC (permalink / raw)
  To: Scott Gifford; +Cc: egcs

  In message < Pine.SOL.3.91.980707004806.29150A-100000@sun.tir.com >you write:
  >   I have been experimenting with egcs 1.0.3a, but can't seem to get it to 
  > pass the "make check" testing phase.  Should it currently pass all of its 
  > test, or is it normal for some to fail?
It is normal for a small number of tests to fail.

The results you posted look pretty reasoanble for an x86 linux target.

jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-07-07 22:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-07  5:29 egcs 1.0.3a and "make check" Scott Gifford
1998-07-07 22:54 ` Jeffrey A Law

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).