[LTP] [RFC PATCH 1/4] syscalls/abort01: convert to new library
Thu Mar 28 05:07:30 CET 2019
On Tue, Mar 26, 2019 at 01:51:32PM +0100, Cyril Hrubis wrote:
> > > * Got rid of tst_brk(TFAIL, ...) calls
> > > see: https://github.com/linux-test-project/ltp/issues/462
> > Thanks for this, it is good to know. What is the recommended replacement?
> > tst_res()?
> Yes, tst_res() followed by either return or exit(0) if you need to
> actually exit the code flow.
> > >
> > > * Used tst_strsig() and tst_strstatus() to print signal and status
> > >
> > > * Used tst_res() API in the child
> > >
> > > * Got rid of unused variables, etc.
> > I am surprised that didn't throw a warning + build error for me.
> > other than that, thanks for doing this
> That depends on gcc version and mix of warning flags...
clang actually throws a lot of warnings for us when we build it natively for
Android. In this case however, I just used my laptop "gcc (Debian 7.3.0-5)"
and default flags for LTP builds.
Do you have plans of enabling -Werror?
> Cyril Hrubis
More information about the ltp