Hans Malissa
2018-10-23 18:33:35 UTC
Hi all,
Once again, I'm confused by the output from a test suite, in this case it's gcc-8.2.0 in chapter 6.21 of 8.3-systemd on x86_64.
When I run the tests as described in the book, su nobody -s /bin/bash -c "PATH=$PATH make -k check" exits with:
[...]
# of expected passes 54
make[4]: Leaving directory '/usr/src/gcc-8.2.0/build/x86_64-pc-linux-gnu/libatomic/testsuite'
make[3]: Leaving directory '/usr/src/gcc-8.2.0/build/x86_64-pc-linux-gnu/libatomic/testsuite'
make[3]: Entering directory '/usr/src/gcc-8.2.0/build/x86_64-pc-linux-gnu/libatomic'
true DO=all multi-do # make
make[3]: Leaving directory '/usr/src/gcc-8.2.0/build/x86_64-pc-linux-gnu/libatomic'
make[2]: Leaving directory '/usr/src/gcc-8.2.0/build/x86_64-pc-linux-gnu/libatomic'
make[1]: Leaving directory '/usr/src/gcc-8.2.0/build'
make: *** [Makefile:2235: do-check] Error 2
make: Target 'check' not remade because of errors.
But when I run ../contrib/test_summary I don't see any 'unexpected failures'. I don't see any failures at all, and no errors either. So I'm not quite sure which error make -k check is referring to. What went wrong here? I'm pasting the output of ../contrib/test_summary below.
Thanks a lot,
Hans
# ../contrib/test_summary
cat <<'EOF' |
LAST_UPDATED: Obtained from SVN: tags/gcc_8_2_0_release revision 262993
Native configuration is x86_64-pc-linux-gnu
=== g++ tests ===
Running target unix
=== g++ Summary ===
# of expected passes 125327
# of expected failures 504
# of unsupported tests 4931
/usr/src/gcc-8.2.0/build/gcc/xg++ version 8.2.0 (GCC)
=== gcc tests ===
Running target unix
=== gcc Summary ===
# of expected passes 130917
# of expected failures 393
# of unsupported tests 2107
/usr/src/gcc-8.2.0/build/gcc/xgcc version 8.2.0 (GCC)
=== libatomic tests ===
Running target unix
=== libatomic Summary ===
# of expected passes 54
=== libgomp tests ===
Running target unix
=== libgomp Summary ===
# of expected passes 1837
# of unsupported tests 192
=== libitm tests ===
Running target unix
=== libitm Summary ===
# of expected passes 42
# of expected failures 3
# of unsupported tests 1
=== libstdc++ tests ===
Running target unix
=== libstdc++ Summary ===
# of expected passes 12199
# of expected failures 71
# of unsupported tests 306
Compiler version: 8.2.0 (GCC)
Platform: x86_64-pc-linux-gnu
configure flags: --prefix=/usr --enable-languages=c,c++ --disable-multilib --disable-bootstrap --disable-libmpx --with-system-zlib
EOF
Mail -s "Results for 8.2.0 (GCC) testsuite on x86_64-pc-linux-gnu" gcc-***@gcc.gnu.org &&
mv /usr/src/gcc-8.2.0/build/./gcc/testsuite/g++/g++.sum /usr/src/gcc-8.2.0/build/./gcc/testsuite/g++/g++.sum.sent &&
mv /usr/src/gcc-8.2.0/build/./gcc/testsuite/gcc/gcc.sum /usr/src/gcc-8.2.0/build/./gcc/testsuite/gcc/gcc.sum.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.sum /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.sum.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.sum /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.sum.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.sum /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.sum.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum.sent &&
mv /usr/src/gcc-8.2.0/build/./gcc/testsuite/g++/g++.log /usr/src/gcc-8.2.0/build/./gcc/testsuite/g++/g++.log.sent &&
mv /usr/src/gcc-8.2.0/build/./gcc/testsuite/gcc/gcc.log /usr/src/gcc-8.2.0/build/./gcc/testsuite/gcc/gcc.log.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.log /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.log.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.log /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.log.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.log /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.log.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log.sent &&
true
Once again, I'm confused by the output from a test suite, in this case it's gcc-8.2.0 in chapter 6.21 of 8.3-systemd on x86_64.
When I run the tests as described in the book, su nobody -s /bin/bash -c "PATH=$PATH make -k check" exits with:
[...]
# of expected passes 54
make[4]: Leaving directory '/usr/src/gcc-8.2.0/build/x86_64-pc-linux-gnu/libatomic/testsuite'
make[3]: Leaving directory '/usr/src/gcc-8.2.0/build/x86_64-pc-linux-gnu/libatomic/testsuite'
make[3]: Entering directory '/usr/src/gcc-8.2.0/build/x86_64-pc-linux-gnu/libatomic'
true DO=all multi-do # make
make[3]: Leaving directory '/usr/src/gcc-8.2.0/build/x86_64-pc-linux-gnu/libatomic'
make[2]: Leaving directory '/usr/src/gcc-8.2.0/build/x86_64-pc-linux-gnu/libatomic'
make[1]: Leaving directory '/usr/src/gcc-8.2.0/build'
make: *** [Makefile:2235: do-check] Error 2
make: Target 'check' not remade because of errors.
But when I run ../contrib/test_summary I don't see any 'unexpected failures'. I don't see any failures at all, and no errors either. So I'm not quite sure which error make -k check is referring to. What went wrong here? I'm pasting the output of ../contrib/test_summary below.
Thanks a lot,
Hans
# ../contrib/test_summary
cat <<'EOF' |
LAST_UPDATED: Obtained from SVN: tags/gcc_8_2_0_release revision 262993
Native configuration is x86_64-pc-linux-gnu
=== g++ tests ===
Running target unix
=== g++ Summary ===
# of expected passes 125327
# of expected failures 504
# of unsupported tests 4931
/usr/src/gcc-8.2.0/build/gcc/xg++ version 8.2.0 (GCC)
=== gcc tests ===
Running target unix
=== gcc Summary ===
# of expected passes 130917
# of expected failures 393
# of unsupported tests 2107
/usr/src/gcc-8.2.0/build/gcc/xgcc version 8.2.0 (GCC)
=== libatomic tests ===
Running target unix
=== libatomic Summary ===
# of expected passes 54
=== libgomp tests ===
Running target unix
=== libgomp Summary ===
# of expected passes 1837
# of unsupported tests 192
=== libitm tests ===
Running target unix
=== libitm Summary ===
# of expected passes 42
# of expected failures 3
# of unsupported tests 1
=== libstdc++ tests ===
Running target unix
=== libstdc++ Summary ===
# of expected passes 12199
# of expected failures 71
# of unsupported tests 306
Compiler version: 8.2.0 (GCC)
Platform: x86_64-pc-linux-gnu
configure flags: --prefix=/usr --enable-languages=c,c++ --disable-multilib --disable-bootstrap --disable-libmpx --with-system-zlib
EOF
Mail -s "Results for 8.2.0 (GCC) testsuite on x86_64-pc-linux-gnu" gcc-***@gcc.gnu.org &&
mv /usr/src/gcc-8.2.0/build/./gcc/testsuite/g++/g++.sum /usr/src/gcc-8.2.0/build/./gcc/testsuite/g++/g++.sum.sent &&
mv /usr/src/gcc-8.2.0/build/./gcc/testsuite/gcc/gcc.sum /usr/src/gcc-8.2.0/build/./gcc/testsuite/gcc/gcc.sum.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.sum /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.sum.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.sum /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.sum.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.sum /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.sum.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum.sent &&
mv /usr/src/gcc-8.2.0/build/./gcc/testsuite/g++/g++.log /usr/src/gcc-8.2.0/build/./gcc/testsuite/g++/g++.log.sent &&
mv /usr/src/gcc-8.2.0/build/./gcc/testsuite/gcc/gcc.log /usr/src/gcc-8.2.0/build/./gcc/testsuite/gcc/gcc.log.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.log /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.log.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.log /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.log.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.log /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.log.sent &&
mv /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log /usr/src/gcc-8.2.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log.sent &&
true