In the first place the .log files are not being created correctly by the
testsuite in all cases.

This results in the "test_summary" script failing to mail all the errors that
could be reported.


Problem 1):

The boehm-gc tests are not included by the "test_summary", script (and never
were previously, to my recolection).

This is likely because "make -i check" does not create a .log file (but does
test boehm-gc). I saved the screen output and here is what I see:


make[3]: Leaving directory
`/opt/gcc-4_2-build/i686-pc-linux-gnu/boehm-gc/include'
make[3]: Entering directory `/opt/gcc-4_2-build/i686-pc-linux-gnu/boehm-gc'
/bin/sh ./libtool --mode=link /opt/gcc-4_2-build/./gcc/xgcc
-B/opt/gcc-4_2-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -$
/opt/gcc-4_2-build/./gcc/xgcc -B/opt/gcc-4_2-build/./gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -$
tests/test.o: In function `mktree':
/root/downloads/gcc-4_2-branch/boehm-gc/tests/test.c:798: undefined reference
to `GC_local_malloc'
/root/downloads/gcc-4_2-branch/boehm-gc/tests/test.c:807: undefined reference
to `GC_local_malloc_atomic'
tests/test.o: In function `local_cons':
/root/downloads/gcc-4_2-branch/boehm-gc/tests/test.c:264: undefined reference
to `GC_local_malloc'
/root/downloads/gcc-4_2-branch/boehm-gc/tests/test.c:267: undefined reference
to `GC_local_gcj_malloc'
collect2: ld returned 1 exit status
make[3]: [gctest] Error 1 (ignored)
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-O2 -g -O2 " "CXXFLAGS=-g -O2 
-D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-g -O2" "$
make[4]: Entering directory `/opt/gcc-4_2-build/i686-pc-linux-gnu/boehm-gc'
/bin/sh ./libtool --mode=link /opt/gcc-4_2-build/./gcc/xgcc
-B/opt/gcc-4_2-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -$
/opt/gcc-4_2-build/./gcc/xgcc -B/opt/gcc-4_2-build/./gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -$
tests/test.o: In function `mktree':
/root/downloads/gcc-4_2-branch/boehm-gc/tests/test.c:798: undefined reference
to `GC_local_malloc'
/root/downloads/gcc-4_2-branch/boehm-gc/tests/test.c:807: undefined reference
to `GC_local_malloc_atomic'
tests/test.o: In function `local_cons':
/root/downloads/gcc-4_2-branch/boehm-gc/tests/test.c:264: undefined reference
to `GC_local_malloc'
/root/downloads/gcc-4_2-branch/boehm-gc/tests/test.c:267: undefined reference
to `GC_local_gcj_malloc'
collect2: ld returned 1 exit status
make[4]: [gctest] Error 1 (ignored)
/bin/sh: line 8: /root/downloads/gcc-4_2-branch/boehm-gc/gctest: No such file
or directory
FAIL: gctest
===================
1 of 1 tests failed
===================
make[4]: [check-TESTS] Error 1 (ignored)
make[4]: Leaving directory `/opt/gcc-4_2-build/i686-pc-linux-gnu/boehm-gc'


Problem 2):

The testsuite scripts fails in the parsing of the libstdc+-v3 .log file.

There is some breakage in grabbing the .log file that results in the compiler
output filling up part of the logs. 

The other difficulty is that the "expect" is unprepared for the "libstdc++-v3
check-abi Summary". It's final output is in a format that seems compatable with
the "test_summary" script but it's result is not included in mail to
[EMAIL PROTECTED] .

Here is what it looks like in
i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log :

                === libstdc++-v3 check-abi Summary ===

# of added symbols:              114
# of missing symbols:            46
# of incompatible symbols:       92


My last "make -i check" (with notes at the end) is here:
http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg00314.html


-- 
           Summary: Logs are not being parsed correctly by testsuite and
                    "test_summary" scripts.
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31846

Reply via email to