[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Allow running tests in testenv on a different wget binary
From: |
Tomas Hozza |
Subject: |
Re: [PATCH] Allow running tests in testenv on a different wget binary |
Date: |
Fri, 8 Nov 2019 14:05:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 |
On 7. 11. 2019 20:53, Tim Rühsen wrote:
> On 07.11.19 15:22, Tomas Hozza wrote:
>> Hello.
>>
>> I would like to reuse upstream tests in testenv/ for testing official Fedora
>> build of wget, installed on the system. Currently tests hardcode path to
>> wget binary to ../src/wget. I added option to set WGET_PATH environment
>> variable to path to a wget binary, which is then used when running tests.
>> This is completely optional, and if not specified, tests work as they did
>> before. However if specified e.g. to "/usr/bin/wget", the
>> distribution-specific build of wget is tested instead.
>
> Hi Tomas,
>
> thanks for that ! We just recently discussed about running the test with
> wget2. Your patch makes it possible. Just pushed it with an amended
> commit message.
>
> BTW, did you consider to use WGET_PATH for the perl tests as well ?
>
> Regards, Tim
>
Hi Tim.
I did consider that, but since I'm no Perl expert and have been contributing
new tests mostly to the Python test suite, I didn't spend time on it. I may
have a look at it, but I can not promise when that will be.
Regards,
Tomas
--
Tomas Hozza
Associate Manager, Software Engineering - EMEA ENG Core Services
PGP: 1D9F3C2D
UTC+1 (CET)
Red Hat Inc. http://cz.redhat.com