[GIT] ppl/ppl(ppl-0_11-branch): Disabled the `memory1' test ( at least for the time being).

Module: ppl/ppl Branch: ppl-0_11-branch Commit: ef211f83fcc4c07eec6b6bced0093796a9e3b3c4 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=ef211f83fcc4c...
Author: Roberto Bagnara bagnara@cs.unipr.it Date: Wed Feb 16 16:16:53 2011 +0100
Disabled the `memory1' test (at least for the time being).
---
tests/Polyhedron/Makefile.am | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/tests/Polyhedron/Makefile.am b/tests/Polyhedron/Makefile.am index 4ff8b49..940ec13 100644 --- a/tests/Polyhedron/Makefile.am +++ b/tests/Polyhedron/Makefile.am @@ -663,9 +663,21 @@ watchdog1_SRCS = watchdog1.cc weightwatch1_SRCS = weightwatch1.cc
if !VALGRIND_TESTS_ENABLED -VALGRIND_BRITTLE_TESTS = memory1 - -memory1_SOURCES = $(memory1_SRCS) +# The `memory1' test is currently disabled. The reason is that there +# is currently no reliable way to make it work, at least on Linux. +# The reason is that memory is limited using RLIMIT_AS, which limits +# brk, mmap and the stack: when we run out of stack, then of course +# we crash. So RLIMIT_AS cannot be used. In principle, we could use +# RLIMIT_DATA, which limits brk only. However, glibc uses mmap when +# it cannot obtain memory from brk (and perhaps in other cases as well), +# but mmap is not limited by RLIMIT_DATA. In summary, RLIMIT_AS limits +# too much (in particular the stack, that should not be limited); +# RLIMIT_DATA limits too little (it does not limit mmap, as we would like +# it to). + +#VALGRIND_BRITTLE_TESTS = memory1 + +#memory1_SOURCES = $(memory1_SRCS)
endif !VALGRIND_TESTS_ENABLED
participants (1)
-
Roberto Bagnara