* [BUG?] t9500 --debug prints "sh: ++GIT_BINDIR++/git: not found"
@ 2010-10-27 20:49 Jonathan Nieder
2010-10-27 21:21 ` Jakub Narebski
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Nieder @ 2010-10-27 20:49 UTC (permalink / raw)
To: git; +Cc: Jakub Narebski
Hi,
Trying to run t9500-gitweb-standalone-no-errors.sh, I find:
$ sh t9500-gitweb-standalone-no-errors.sh --debug
ok 1 - no commits: projects_list (implicit)
sh: ++GIT_BINDIR++/git: not found
ok 2 - no commits: projects_index
sh: ++GIT_BINDIR++/git: not found
ok 3 - no commits: .git summary (implicit)
[...]
config.mak reads:
CFLAGS = -g -O2 -Wall -Wdeclaration-after-statement
NO_OPENSSL=1
NO_EXPAT=1
COMPUTE_HEADER_DEPENDENCIES=1
USE_NSEC=1
ASCIIDOC8=1
ASCIIDOC_NO_ROFF=1
and there is no config.mak.autogen or other source of build flags.
Ideas? Is this expected behavior?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG?] t9500 --debug prints "sh: ++GIT_BINDIR++/git: not found"
2010-10-27 20:49 [BUG?] t9500 --debug prints "sh: ++GIT_BINDIR++/git: not found" Jonathan Nieder
@ 2010-10-27 21:21 ` Jakub Narebski
2010-10-27 21:34 ` Jonathan Nieder
0 siblings, 1 reply; 4+ messages in thread
From: Jakub Narebski @ 2010-10-27 21:21 UTC (permalink / raw)
To: Jonathan Nieder; +Cc: git
Jonathan Nieder <jrnieder@gmail.com> writes:
> Trying to run t9500-gitweb-standalone-no-errors.sh, I find:
>
> $ sh t9500-gitweb-standalone-no-errors.sh --debug
> ok 1 - no commits: projects_list (implicit)
> sh: ++GIT_BINDIR++/git: not found
> ok 2 - no commits: projects_index
> sh: ++GIT_BINDIR++/git: not found
> ok 3 - no commits: .git summary (implicit)
> [...]
> Ideas? Is this expected behavior?
Fixed in 8ff76f4 (gitweb: Move call to evaluate_git_version after
evaluate_gitweb_config, 2010-09-26):
gitweb: Move call to evaluate_git_version after evaluate_gitweb_config
This means that call to evaluate_git_version() is now inside
run_request(), which means that is called for each request instead of
once per starting gitweb; this matter currently only when using
FastCGI interface (gitweb.fcgi).
This change was done becayse evaluate_git_version() uses $GIT
variable, which can be set / modified by gitweb config file... and it
is modified this way by gitweb config file used in gitweb tests.
Without this change there is spurious extra output from t9500 test
when tests are run with '--debug' option.
which is part of
* jn/gitweb-test (2010-09-26) 4 commits
- gitweb/Makefile: Include gitweb/config.mak
- gitweb/Makefile: Add 'test' and 'test-installed' targets
- t/gitweb-lib.sh: Add support for GITWEB_TEST_INSTALLED
- gitweb: Move call to evaluate_git_version after evaluate_gitweb_config
--
Jakub Narebski
Poland
ShadeHawk on #git
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG?] t9500 --debug prints "sh: ++GIT_BINDIR++/git: not found"
2010-10-27 21:21 ` Jakub Narebski
@ 2010-10-27 21:34 ` Jonathan Nieder
2010-10-27 22:32 ` Jakub Narebski
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Nieder @ 2010-10-27 21:34 UTC (permalink / raw)
To: Jakub Narebski; +Cc: git
Jakub Narebski wrote:
> Jonathan Nieder <jrnieder@gmail.com> writes:
>
>> sh: ++GIT_BINDIR++/git: not found
>> ok 3 - no commits: .git summary (implicit)
>> [...]
[...]
> Fixed in 8ff76f4 (gitweb: Move call to evaluate_git_version after
> evaluate_gitweb_config, 2010-09-26):
Oh! Yes, that works. Thanks and sorry for the noise.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG?] t9500 --debug prints "sh: ++GIT_BINDIR++/git: not found"
2010-10-27 21:34 ` Jonathan Nieder
@ 2010-10-27 22:32 ` Jakub Narebski
0 siblings, 0 replies; 4+ messages in thread
From: Jakub Narebski @ 2010-10-27 22:32 UTC (permalink / raw)
To: Jonathan Nieder; +Cc: git
Jonathan Nieder <jrnieder@gmail.com> writes:
> Jakub Narebski wrote:
>> Jonathan Nieder <jrnieder@gmail.com> writes:
>>
>>> sh: ++GIT_BINDIR++/git: not found
>>> ok 3 - no commits: .git summary (implicit)
>>> [...]
> [...]
>> Fixed in 8ff76f4 (gitweb: Move call to evaluate_git_version after
>> evaluate_gitweb_config, 2010-09-26):
>
> Oh! Yes, that works. Thanks and sorry for the noise.
You are welcome.
I should have perhaps choose comit title differently, e.g.:
gitweb: Fix ./t950* --debug
or something like that.
--
Jakub Narebski
Poland
ShadeHawk on #git
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-27 22:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-27 20:49 [BUG?] t9500 --debug prints "sh: ++GIT_BINDIR++/git: not found" Jonathan Nieder
2010-10-27 21:21 ` Jakub Narebski
2010-10-27 21:34 ` Jonathan Nieder
2010-10-27 22:32 ` Jakub Narebski
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).