From: SungHyun Nam <goweol@gmail.com>
To: Junio C Hamano <junkio@cox.net>
Cc: GIT <git@vger.kernel.org>
Subject: GIT+CYGWIN annoying test failure
Date: Wed, 24 Jan 2007 11:18:35 +0900 [thread overview]
Message-ID: <45B6C1FB.7060005@gmail.com> (raw)
Hello,
First of all, this problem always existed to me. I was lazy to report.
Please check the failure logs and my GIT build script below.
My build script runs 'make test' twice because of this annoying failure.
It does not mean that the first test always failed, but very often.
If it occurs, the first test failed at 't1000-read-tree-m-3way.sh'
always. And in this case, 2nd test always succeeded.
Thanks,
GIT test failure logs
====================================================================
2007-01-15
==============================================================================
GIT_VERSION = 1.5.0.rc1.gf4b6c-dirty
...
* FAIL 57: 5 - must match in !O && A && B && A==B case.
rm -f .git/index LL &&
cp .orig-A/LL LL &&
git-update-index --add LL &&
echo extra >>LL &&
git-read-tree -m 3fe085e0589de4327971d50e416fc292dd00fbfe
997bbc4a0a51e0574168a4f637739380edebe4d7
76d47d681d7f1d4fa975334a9a0ba8a6eeea2226 &&
check_result
...
* FAIL 62: 9 - must match and be up-to-date in O && A && !B && O!=A case
rm -f .git/index MD &&
cp .orig-A/MD MD &&
git-update-index --add MD &&
git-read-tree -m 3fe085e0589de4327971d50e416fc292dd00fbfe
997bbc4a0a51e0574168a4f637739380edebe4d7
76d47d681d7f1d4fa975334a9a0ba8a6eeea2226 &&
check_result
...
* FAIL 65: 10 - must match and be up-to-date in O && A && !B && O==A case
rm -f .git/index ND &&
cp .orig-A/ND ND &&
git-update-index --add ND &&
git-read-tree -m 3fe085e0589de4327971d50e416fc292dd00fbfe
997bbc4a0a51e0574168a4f637739380edebe4d7
76d47d681d7f1d4fa975334a9a0ba8a6eeea2226 &&
check_result
...
* failed 3 among 83 test(s)
make[1]: *** [t1000-read-tree-m-3way.sh] Error 1
make[1]: Leaving directory `/c/user/namsh/unix/git/t'
make: *** [test] Error 2
2007-01-18
==============================================================================
GIT_VERSION = 1.5.0.rc1.g556b-dirty
...
* FAIL 50: 3 - must match A in !O && A && !B case.
rm -f .git/index AN &&
cp .orig-A/AN AN &&
git-update-index --add AN &&
git-read-tree -m 3fe085e0589de4327971d50e416fc292dd00fbfe
997bbc4a0a51e0574168a4f637739380edebe4d7
76d47d681d7f1d4fa975334a9a0ba8a6eeea2226 &&
check_result
...
* FAIL 53: 4 - must match and be up-to-date in !O && A && B && A!=B case.
rm -f .git/index AA &&
cp .orig-A/AA AA &&
git-update-index --add AA &&
git-read-tree -m 3fe085e0589de4327971d50e416fc292dd00fbfe
997bbc4a0a51e0574168a4f637739380edebe4d7
76d47d681d7f1d4fa975334a9a0ba8a6eeea2226 &&
check_result
...
* failed 2 among 83 test(s)
make[1]: *** [t1000-read-tree-m-3way.sh] Error 1
make[1]: Leaving directory `/c/user/namsh/unix/git/t'
make: *** [test] Error 2
2007-01-24
==============================================================================
GIT_VERSION = 1.5.0.rc2.gc9a89-dirty
...
* FAIL 50: 3 - must match A in !O && A && !B case.
rm -f .git/index AN &&
cp .orig-A/AN AN &&
git-update-index --add AN &&
git-read-tree -m 3fe085e0589de4327971d50e416fc292dd00fbfe
997bbc4a0a51e0574168a4f637739380edebe4d7
76d47d681d7f1d4fa975334a9a0ba8a6eeea2226 &&
check_result
...
* failed 1 among 83 test(s)
make[1]: *** [t1000-read-tree-m-3way.sh] Error 1
make[1]: Leaving directory `/c/user/namsh/unix/git/t'
make: *** [test] Error 2
GIT build script
====================================================================
...
if test ! -r ./configure || test ./configure.ac -nt ./configure
then
printf "Run autoconf..."
autoconf
echo " DONE!"
fi
if test ! -r ./config.mak.autogen \
|| test ./configure -nt ./config.mak.autogen
then
./configure --prefix=$prefix
fi
# generate personal configuration makefile
[ -r config.mak ] && rm -f config.mak
touch config.mak
[ -r config.mak ] || die "Cannot generate config.mak"
$E "CFLAGS=$CFLAGS" >> config.mak
$E "DESTDIR=$DESTDIR" >> config.mak
# git's configure script could not find the libiconv for CYGWIN.
$E "NEEDS_LIBICONV=1\nNO_ICONV=" >> config.mak
$E "NO_PERL_MAKEMAKER=1" >> config.mak # have no PERL MakeMaker
$E "NO_TRUSTABLE_FILEMODE=" >> config.mak # default filemode = true
# FAT32 has issues with 'mmap', but I only have NTFS.
$E "NO_MMAP=" >> config.mak
if make all doc
then
# I don't use CVS/Subversion. So skip those tests.
export GIT_SKIP_TESTS='t91?? t92??'
if ! make test
then
${E} "\n*** ${R}Test failed${N} ***\n"
# I don't know why... Sometimes first 'make test' failed.
printf "Try again... "
if ! make test >/dev/null 2>&1
then
die "2nd test failed also."
fi
printf "OK!"
fi
rm -f "$gitLog"
if ! make install install-doc > "$gitLog" 2>&1
then
die "Install failed. Check $gitLog"
fi
rm -f "$gitLog"
...
fi
next reply other threads:[~2007-01-24 2:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-24 2:18 SungHyun Nam [this message]
2007-01-24 9:53 ` GIT+CYGWIN annoying test failure Johannes Schindelin
2007-01-29 1:15 ` SungHyun Nam
2007-02-01 16:04 ` Johannes Schindelin
2007-02-02 0:10 ` SungHyun Nam
2007-02-15 0:55 ` SungHyun Nam
2007-02-15 1:37 ` Johannes Schindelin
2007-02-16 0:04 ` SungHyun Nam
2007-02-16 1:26 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45B6C1FB.7060005@gmail.com \
--to=goweol@gmail.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).