[Bug default/19233] Add a --timeout <time-in-second> argument to abidiff

dodji at redhat dot com sourceware-bugzilla@sourceware.org
Thu Jan 1 00:00:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=19233

--- Comment #3 from dodji at redhat dot com ---
Some people have proposed that we just use the program 'timeout',
provided by coreutils, for this use case.

The reason why I was thinking about having a --timeout option was to
have a finer control about what we return in that case.

Right now, the 8 bits exit value of abidiff tells us about the kind of
difference or error encountered.  In case of timeout error (and if
abidiff handles --abidiff), we could flip the first bit (which mean
there was an error) and then flip the third bit too, saying that there
was a timeout.

Otherwise, if users use the "timeout" program from coreutils, handling
the exit code gracefully seems a little bit more bumpy.

What do you think?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libabigail mailing list