This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Using setrlimit in testsuite
- To: Phil Edwards <pedwards at disaster dot jaj dot com>
- Subject: Re: Using setrlimit in testsuite
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Mon, 6 Aug 2001 11:39:20 -0700 (PDT)
- cc: Zack Weinberg <zackw at panix dot com>, libstdc++ at gcc dot gnu dot org
> 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