This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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 2/4] introduce parallel mode


On 08/01/2013 08:44 PM, Tom Tromey wrote:
>>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
> 
> Yao> Probably, we can send the output to the log, for example
> Yao> inotify_[pid].log, and check whether there is something written into
> Yao> the log in the test somewhere.  If there is, emit a FAIL, which would
> Yao> be more attractive, like:
> 
> I am not sure about emitting a FAIL.  There won't be a corresponding
> PASS.  It would be more noticeable, which is a plus; but in the absence
> of a conflict it isn't clearly a FAIL-worthy bug -- even after my series
> we'll have a few of these.

I guess a WARNING could be a better fit:

warning "string number"
    Declares detection of a minor error in the test case itself. warning writes
    in the log files a message beginning with `WARNING', appending the argument string.
    Use warning rather than error for cases (such as communication failure to be
    followed by a retry) where the test case can recover from the error.

-- 
Pedro Alves


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