mkcheck.in: Link against local testsuite library.

2002-06-07  Phil Edwards  <pme@gcc.gnu.org>

	* mkcheck.in:  Link against local testsuite library.
	* testsuite/testsuite_hooks.h (__set_testsuite_memlimit):  Move null
	implementation out...
	* testsuite/testsuite_hooks.cc:  ...to here.

From-SVN: r54349
This commit is contained in:
Phil Edwards 2002-06-07 20:25:04 +00:00
parent 942030dcbe
commit ce5c872270
4 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2002-06-07 Phil Edwards <pme@gcc.gnu.org>
* mkcheck.in: Link against local testsuite library.
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
implementation out...
* testsuite/testsuite_hooks.cc: ...to here.
2002-06-06 Loren J. Rittle <ljrittle@acm.org>
* src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.

View File

@ -314,7 +314,8 @@ test_file()
# and harder as we try compiling at, say, top of the hour; we would
# eventually have to calculate time_t anyhow. Or 3) just grab two
# time_t's (no more overhead than grabbing two date(1)'s).
compiler_invocation="$LTCXX $S_FLAG $SRC_NAME -o $EXENAME"
our_libs="-L$TEST_DIR -lv3test"
compiler_invocation="$LTCXX $S_FLAG $SRC_NAME -o $EXENAME $our_libs"
echo $compiler_invocation >> compile.out 2>&1
COMP_TIME_START=$($TIMER_COMMAND)
$compiler_invocation >> compile.out 2>&1

View File

@ -67,6 +67,9 @@ __set_testsuite_memlimit(float __size)
setrlimit(RLIMIT_AS, &r);
#endif
}
#else
void
__set_testsuite_memlimit(float) { }
#endif /* _GLIBCPP_MEM_LIMITS */

View File

@ -67,8 +67,7 @@
#ifndef _GLIBCPP_MEM_LIMITS
// Don't do memory limits.
extern void
__set_testsuite_memlimit(float x = 0)
{ }
__set_testsuite_memlimit(float x = 0);
#else