Re: Perl to Python

Giannis Christodoulou <[email protected]> Wed, 3 Jun 2026 14:32:50 +0200
Newsgroups gmane.comp.apache.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------jGyRbbdHCfYnq1Bz01ZFR6Ri
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 6/3/26 2:19 PM, Jim Jagielski wrote:

>
>
>> On Jun 3, 2026, at 6:54 AM, Joe Orton <[email protected]> wrote:
>>
>> On Wed, Jun 03, 2026 at 05:35:16AM -0400, Jim Jagielski wrote:
>>
>>> In parallel I have also been working on a port of the Perl test
>>> framework to one based on Python and pytest, with the ultimate goal,
>>> hopefully, of pulling in the h2 test suite into that, so we have a
>>> single, self-contained test framework.
>>
>> Holy crap! That would be amazing. Do you plan to merge this into httpd's
>> test/ subdirectory, or keep it in a separate repo?
>>
>
> The plan is to put it in https test subdirectory so that we have a 
> totally self-contained
> test framework :-)
>
> Wish me luck!
>
> --
> Jim
>   "This is an outrage!"
>                         Tony Harrison
>

Nice! I was also thinking about a single test suite a couple of months 
ago :)

I've been working with something similar regarding the test suites [1],
trying to identify the most valuable tests in terms of code coverage
so we can have some kind of priority order for the porting effort.
Its in-progress but I was hoping to have it in a final shape by the end 
of June.

Of course, it's one metric, since even a small change can be related to
a very important fix. Still, I think it could help give some indication of
which tests might be worth prioritizing for migration.

Regards, Giannis

[1] https://github.com/ichristod/httpd-testsuites-analysis
--------------jGyRbbdHCfYnq1Bz01ZFR6Ri
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>On 6/3/26 2:19 PM, Jim Jagielski wrote:</p>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <br id="lineBreakAtBeginningOfMessage">
      <div><br>
        <blockquote type="cite">
          <div>On Jun 3, 2026, at 6:54 AM, Joe Orton
            <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote:</div>
          <br class="Apple-interchange-newline">
          <div>
            <div>On Wed, Jun 03, 2026 at 05:35:16AM -0400, Jim Jagielski
              wrote:<br>
              <br>
              <blockquote type="cite">In parallel I have also been
                working on a port of the Perl test <br>
                framework to one based on Python and pytest, with the
                ultimate goal, <br>
                hopefully, of pulling in the h2 test suite into that, so
                we have a <br>
                single, self-contained test framework.<br>
              </blockquote>
              <br>
              Holy crap! That would be amazing. Do you plan to merge
              this into httpd's <br>
              test/ subdirectory, or keep it in a separate repo?<br>
              <br>
            </div>
          </div>
        </blockquote>
        <br>
      </div>
      <div>The plan is to put it in https test subdirectory so that we
        have a totally self-contained</div>
      <div>test framework :-)</div>
      <div><br>
      </div>
      <div>Wish me luck!</div>
      <br>
      <div>
        <meta charset="UTF-8">
        <div dir="auto"
style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
          <div>--<br>
            Jim<br>
              "This is an outrage!"</div>
          <div>                        Tony Harrison</div>
        </div>
      </div>
      <br>
    </blockquote>
    <br>
    Nice! I was also thinking about a single test suite a couple of
    months ago :) <br>
     <br>
    I've been working with something similar regarding the test suites
    [1], <br>
    trying to identify the most valuable tests in terms of code
    coverage <br>
    so we can have some kind of priority order for the porting effort.<br>
    Its in-progress but I was hoping to have it in a final shape by the
    end of June.<br>
    <br>
    Of course, it's one metric, since even a small change can be related
    to <br>
    a very important fix. Still, I think it could help give some
    indication of <br>
    which tests might be worth prioritizing for migration.<br>
    <br>
    Regards, Giannis<br>
    <br>
    [1] <a moz-do-not-send="true"
      href="https://github.com/ichristod/httpd-testsuites-analysis"
      class="moz-txt-link-freetext">https://github.com/ichristod/httpd-testsuites-analysis</a>
  </body>
</html>

--------------jGyRbbdHCfYnq1Bz01ZFR6Ri--