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

Re: NOTICE: Intent to T&R 2.4.36

> Am 10.10.2018 um 21:30 schrieb Jim Jagielski <jim@xxxxxxxxxxx>:
>> On Oct 10, 2018, at 10:04 AM, Stefan Eissing <stefan.eissing@xxxxxxxxxxxxx> wrote:
>> I have started to convert the existing h2 testsuite in from shell scripts to pytest in the github repro. I have a pytest suite for mod_md also in its github. 
>> My hope is to, one day, make those part of a httpd test suite, probably just by combining the separate standalone ones. Then we could have 'modules/ABC/test' as optional part of a module with a defined way to trigger them.
> That would be great because it seems that almost no one is using it, or has been able to get that test suite to work. I know I haven't.

I would love to get feedback to mod-h2 tests from

If you have an apxs and the apache/apr header files, pytest, nghttp2 and curl on your system, checkout and

> autoconf
> ./configure --with-apxs=<path to apxs>
> make
> make test

On my machine, this gives:

> make test
/Applications/ -C test/ test
rsync -a --exclude="*.in" e2e/conf/*.* /Users/sei/projects/mod-h2/test/gen/apache/conf
cd e2e && py.test
=================================================================== test session starts ====================================================================
platform darwin -- Python 2.7.10, pytest-3.0.7, py-1.4.33, pluggy-0.4.0
rootdir: /Users/sei/projects/mod-h2/test/e2e, inifile:
collected 54 items .. ...... ......... .... ..... ..... .. ....... ... .. .... ... ..

================================================================ 54 passed in 13.25 seconds ================================================================

On my ubuntu image I get additionally:

===================================================================== warnings summary =====================================================================
  /home/sei/.local/lib/python2.7/site-packages/requests/packages/urllib3/ InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See:

-- Docs:

as I am not using 'mkcert' as of yet and certs are self-signed.