This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3.1] New functions pthread_[sg]etattr_default_np for default thread attributes


On 06/13/2013 10:21 AM, Joseph S. Myers wrote:
> On Thu, 13 Jun 2013, Siddhesh Poyarekar wrote:
> 
>>> I think that's a bad idea.  In practice what goes in the test's .out file 
>>> is *more* visible than what goes in the huge pile of make check output.  
>>> Arguably stderr as well as stdout should be redirected.
>>
>> IIRC the rationale behind that was that such warnings go unnoticed and
>> it is assumed that all tests *passed* when in reality some may have
>> been skipped.  I think [1] may have been the point where I had noted
> 
> The notion that people notice a warning that scrolls off the screen in 
> under a second is unrealistic.  If I want details of what happened for a 
> particular test, I examine its .out file.  To distinguish passing and 
> skipped tests for the overall testsuite status, we need more structured 
> information in the .out files about the status of particular test 
> assertions, rather than unstructured warnings appearing mixed up with huge 
> numbers of long compilation and test-running commands.
> 

Would you agree that the real problem is not that the message is 
printed to stderr, but that each test's stderr does not get 
recorded in a file for later review e.g. $test.err?

I think that the patch as Siddhesh has it is correct, but we need
a testsuite fix to redirect stderr (along with a long list of other
testsuite fixes).

Unless you think that stderr should be used for another purpose,
like actual testsuite problems?

Cheers,
Carlos.
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]