On Thu, 5 May 2005, Geoffrey Young wrote:
> Randy Kobes wrote:
> > Unfortunately, I
> > missed one problem on Win32 in my earlier testing - the
> > subdirectory module/t/cgi-bin/ has to be created before
> > testing.
>
> I thought the cgi script(s?) were written out via t_write_perl_script()?
>
> my $cgi = File::Spec->catfile(Apache::Test::vars('serverroot'),
> qw(cgi-bin test_cgi.pl));
>
>
> t_write_perl_script($cgi, <DATA>);
>
> so that should create t/cgi-bin. unless you're talking about a different
> script, in which case the proper solution is to probably use
> t_write_perl_script() there as well. but I don't immediately see what that
> would be...
Thanks for pointing that out, but unfortunately, that occurs
too late, at least in the way that I've built things on
Win32 - before that point, the test_cgi.exe executable is
built from module/test_cgi.c and placed under
module/t/cgi-bin/. I guess another alternative is to build
it under an existing directory and copy it afterwards; I'll
see which one is easier.
--
best regards,
randy