Hi Jacob,

On Fri, Jan 6, 2017 at 10:00 PM, Jacob Champion <[email protected]> wrote:
> r1777709 adds a --with-test-suite option for configure that allows you to
> run `make && make check`, assuming you already have Apache::Test and its
> dependencies installed somewhere. The major nice things here are
>
> - you don't have to install the server to test it
> - all built modules are tested, regardless of whether they will be enabled
> during installation

Really nice, thanks a lot!

>
> Currently, only the Apache::Test suite is run, and not the other test
> utilities such as the HTTP/2 suite (which I seem to have lost for the
> moment?).
>
> *NOTE THAT RUNNING 'make check' WILL OVERWRITE YOUR CURRENT TEST
> CONFIGURATION.* Let me know if this is a problem for you.

Not sure what this means, could you elaborate?

>
> To use it after you've synced up:
>
>     ./buildconf
>     ./configure <options> --with-test-suite=/absolute/path/to/apache/test
>     make
>     make check

Does not work for me currently:
$ make check
Installing header files
mv: '/home/yle/src/apache/httpd/trunk/check/conf/httpd.conf' and
'/home/yle/src/apache/httpd/trunk/check/conf/httpd.conf' are the same
file
mv: '/home/yle/src/apache/httpd/trunk/check/conf/httpd.conf' and
'/home/yle/src/apache/httpd/trunk/check/conf/httpd.conf' are the same
file
cd "" && \
    perl Makefile.PL -apxs "/home/yle/src/apache/httpd/trunk/check/apxs" && \
    ./t/TEST -clean && \
    ./t/TEST -config && \
    ./t/TEST
Can't open perl script "Makefile.PL": No such file or directory
Makefile:417: recipe for target 'check' failed
make: *** [check] Error 2

My --with-test-suite= is where I checked out the test framework
(^/httpd/test/framework/trunk), is that right?
Any idea?


Anyway, looking forward for it to work here!

Regards,
Yann.

Reply via email to