This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

Re: Using setrlimit in testsuite



> I went that exact same route.  The design of (and comments inside)
> debug_assert.h made it seem that adding arbitrary stuff was out of line with
> some redesign, so I went with a new file.  If they should be generalized
> and merged (which sounds good), I can rename it to testsuite_hooks.h.

Sounds good. Please do this. I've done something similar trying to get 
the location of the build-tree's message catalogs usable for 
22_locale/messages_*.cc test files.

I'll just merge into your changes.

> Yep.  I'm still concerned that the autoconf test results for things not
> affecting the library per se (e.g., HAVE_SYS_RESOURCE_H and whatnot)
> are going to be included in c++config.h.  It doesn't cause any breakage,
> but it's wasteful.  Should we make efforts to keep the testsuite-related
> stuff out of that header?  If so, where does it go?

I don't know how to do this. If you can figure it out, then do it, but 
don't stress too hard about it. If you can't figure if out, just comment 
it in acconfig.h.

-benjamin


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