public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Stefan Liebler <stli@linux.ibm.com>
To: libc-alpha@sourceware.org
Subject: Re: [PATCH] Loosen the limits of time/tst-cpuclock1.
Date: Mon, 19 Oct 2020 16:48:31 +0200	[thread overview]
Message-ID: <38c29c8e-2360-c056-d9b3-b4c09b13ec8d@linux.ibm.com> (raw)
In-Reply-To: <f1b35850-767a-d0e3-0b01-701af0aa197f@linaro.org>

On 9/30/20 1:48 PM, Adhemerval Zanella via Libc-alpha wrote:
> 
> 
> On 29/09/2020 14:22, Carlos O'Donell wrote:
>> On 9/29/20 10:01 AM, Adhemerval Zanella via Libc-alpha wrote:
>>>
>>>
>>> On 29/09/2020 10:53, Lucas A. M. Magalhaes via Libc-alpha wrote:
>>>> Quoting Florian Weimer (2020-09-21 08:28:31)
>>>>> * Stefan Liebler:
>>>>>
>>>>>> How do we want to proceed here:
>>>>>> - Shall we just loosen the limits?
>>>>>> - Shall we remove the whole test?
>>>>>> - Shall we remove only the first check which compares nanosleep vs
>>>>>> clock_gettime (child_clock, before|after)?
>>>>>
>>>>> I lean towards removing both time/tst-cpuclock1 and time/tst-cpuclock2.
>>>>>
>>>>
>>>> I don't oppose against removing them, also.
>>>>
>>>
>>> I also lean to remove these tests. If we need to keep adjusting the time
>>> limits depending of the underlying architecture the tests might loose
>>> their intention to check the interface and/or not indicate a possible
>>> regression.
>>
>> The tests should be removed because they contain *non-timing* related
>> regression tests for:
> 
> I think you meant 'should *not* be remove* based on the points below.
> 
>>
>> * clock_getcpuclockid vs. ENOSYS / ESRCH / EPERM
>> * clock_getcpuclockid vs. valid child
>> * clock_gettime of dead child where clock is no longer valid
>>
>> I don't see any other tests that test for that.
>>
>> If we want we can just strip out the time-dependent parts of the tests?
>>
> 
> This is better idea indeed.
> 

Hi,

Sorry for the long delay.
According to all the feedback, I've kept the test itself and removed two
of the time-dependent checks.
Please have a look at v2 of the patch:
"[PATCH v2] Loosen the limits of time/tst-cpuclock1."
https://sourceware.org/pipermail/libc-alpha/2020-October/118779.html

Thanks,
Stefan

      reply	other threads:[~2020-10-19 14:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-28  8:58 Stefan Liebler
2020-08-28 12:29 ` Florian Weimer
2020-08-31 12:57   ` Lucas A. M. Magalhaes
2020-08-31 12:59     ` Florian Weimer
2020-09-02 16:10       ` Stefan Liebler
2020-09-21 11:28         ` Florian Weimer
2020-09-29 13:53           ` Lucas A. M. Magalhaes
2020-09-29 14:01             ` Adhemerval Zanella
2020-09-29 17:22               ` Carlos O'Donell
2020-09-30 11:48                 ` Adhemerval Zanella
2020-10-19 14:48                   ` Stefan Liebler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38c29c8e-2360-c056-d9b3-b4c09b13ec8d@linux.ibm.com \
    --to=stli@linux.ibm.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).