git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] test: avoid failures when USE_NED_ALLOCATOR

From
Carlo Marcelo Arenas Belón <carenas@gmail.com>
Date
Oct 23, 2018, 09:38 UTC
Message-ID
<20181023093856.78944-1-carenas@gmail.com>

contrib/nedmalloc doesn't support MALLOC_CHECK_ or MALLOC_PERTURB_ so add it to the same exception that is being used with valgrind

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
---
 t/test-lib.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 44288cbb59..2ad9e6176c 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -143,7 +143,7 @@ fi
 # Add libc MALLOC and MALLOC_PERTURB test
 # only if we are not executing the test with valgrind
 if expr " $GIT_TEST_OPTS " : ".* --valgrind " >/dev/null ||
-   test -n "$TEST_NO_MALLOC_CHECK"
+   test -n "$TEST_NO_MALLOC_CHECK" || test -n "$USE_NED_ALLOCATOR"
 then
 	setup_malloc_check () {
 		: nothing
-- 
2.19.1
Next: Junio C Hamano
Message 1 of 2 in “test: avoid failures when USE_NED_ALLOCATOR”
  1. test: avoid failures when USE_NED_ALLOCATORCarlo Marcelo Arenas Belón, Oct 23, 2018
  2. Junio C HamanoOct 24, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.