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: [RFA] Suppress stap-trace.exp when compilation fails


On 05/23/2012 06:15 PM, Keith Seitz wrote:

> Hi,
> 
> stap-trace.exp does not check the return value of its compile-a-testcase wrapper procedure, so when compilation of the test case fails, it attempts to run the tests anyway instead of nicely bailing out.
> 
> This patch addresses this by fixing the compile wrapper to always return a valid value and checking this procedure's return value before running the tests.
> 
> Okay?


Sure, thanks.  There's a second compilation further below, but I'll assume that if
the first succeeds, the second should also.

-- 
Pedro Alves


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