bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU Autoconf 2.67] testsuite: 197,198 failed


From: Vincent Ng
Subject: [GNU Autoconf 2.67] testsuite: 197,198 failed
Date: Tue, 8 Feb 2011 21:12:17 -0500

pastebin.com/LdDPw0Fd

197 - parallel syntax error
198 - parallel errexit

Building a LFS(linux from scratch) 32bit system via LiveCD on VirtualBox,
underlying hardware is Intel i5-2500k running ubuntu 10.04 x64.

Testsuite 197 error:
Lines 1-127 showed test error from testsuite 197.

Testsuite 198 pass sometimes, but fails other times.
Lines 131-294(pass)
Line 230 said the error below, but still passed
ERROR: 2 tests were run, one failed unexpectedly and inhibited subsequent
tests.
Lines 295-467(error)

The webpage below showed that error isn't all that bad. Also, reading the
source code showed that it might be prone to errors
http://old.nabble.com/Log-from-LFS-Development-build-autoconf-2.67-on-Compaq-Evo-N600c-td30005879.html

Thanks

Vincent Ng



----------------------- testsuite source code

AT_CHECK_AT_TEST([parallel syntax error],
  [AT_CHECK([:])
   AT_CLEANUP
   AT_SETUP([syntax])
   AT_CHECK([if])
   AT_CLEANUP
   AT_SETUP([another test])
   AT_CHECK([:])],
  [], [0], [], [], [AT_SKIP_PARALLEL_TESTS],
  [dnl Until we can find a way to avoid catastrophic failure (ash) or
   dnl lack of failure (zsh), skip the rest of this test on such shells.
   echo 'if' > syntax
   AT_CHECK([${CONFIG_SHELL-$
SHELL} -c 'case `. ./syntax; echo $?` in
          0|"") exit 77;;
        esac'], [0], [ignore], [ignore])
   AT_CHECK([$CONFIG_SHELL ./micro-suite -j], [1], [ignore], [stderr])
   AT_CHECK([grep "unable to parse test group: 2" stderr], [0], [ignore])],
  [-j2 1 3])

AT_CHECK_AT_TEST([parallel errexit],
  [AT_CHECK([false])
   AT_CLEANUP
   AT_SETUP([barrier test])
   AT_CHECK([sleep 4])
   AT_CLEANUP
   AT_SETUP([test that should not be run])
   AT_CHECK([:])],
  [], [1], [stdout], [stderr], [AT_SKIP_PARALLEL_TESTS],
  [AT_CHECK([test -f micro-suite.log], [1])
   touch micro-suite.log # shut up AT_CAPTURE_FILE.
   AT_CHECK([grep "should not be run" stdout], [1])
   AT_CHECK([grep "[[12]] .* inhibited subsequent" stderr], [], [ignore])],
  [-j2 --errexit])


reply via email to

[Prev in Thread] Current Thread [Next in Thread]