mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 12:28:18 +00:00
Add valgrind suppression file
This commit is contained in:
7
.valgrind.supp
Normal file
7
.valgrind.supp
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
nss_parse_service_list
|
||||||
|
Memcheck:Leak
|
||||||
|
fun:malloc
|
||||||
|
fun:nss_parse_service_list
|
||||||
|
fun:__nss_database_lookup
|
||||||
|
}
|
4
Makefile
4
Makefile
@@ -1,9 +1,9 @@
|
|||||||
-include local.mk
|
-include local.mk
|
||||||
|
|
||||||
CMAKE_FLAGS = -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=.deps/usr -DLibUV_USE_STATIC=YES
|
CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=.deps/usr -DLibUV_USE_STATIC=YES
|
||||||
|
|
||||||
# Extra CMake flags which extend the default set
|
# Extra CMake flags which extend the default set
|
||||||
CMAKE_EXTRA_FLAGS =
|
CMAKE_EXTRA_FLAGS :=
|
||||||
|
|
||||||
build/bin/nvim: deps
|
build/bin/nvim: deps
|
||||||
${MAKE} -C build
|
${MAKE} -C build
|
||||||
|
@@ -3,5 +3,5 @@
|
|||||||
# export VALGRIND_CHECK=1
|
# export VALGRIND_CHECK=1
|
||||||
make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist"
|
make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist"
|
||||||
make
|
make
|
||||||
make test
|
make test > /dev/null 2>&1
|
||||||
make install
|
make install
|
||||||
|
@@ -2,9 +2,9 @@
|
|||||||
# Makefile to run all tests for Vim
|
# Makefile to run all tests for Vim
|
||||||
#
|
#
|
||||||
|
|
||||||
VIMPROG = ../../build/bin/nvim
|
VIMPROG := ../../build/bin/nvim
|
||||||
|
|
||||||
SCRIPTS = test1.out test2.out test3.out test4.out test5.out test6.out \
|
SCRIPTS := test1.out test2.out test3.out test4.out test5.out test6.out \
|
||||||
test7.out test8.out test9.out test10.out test11.out \
|
test7.out test8.out test9.out test10.out test11.out \
|
||||||
test12.out test13.out test14.out test15.out test17.out \
|
test12.out test13.out test14.out test15.out test17.out \
|
||||||
test18.out test19.out test20.out test21.out test22.out \
|
test18.out test19.out test20.out test21.out test22.out \
|
||||||
@@ -25,14 +25,14 @@ SCRIPTS = test1.out test2.out test3.out test4.out test5.out test6.out \
|
|||||||
test94.out test95.out test96.out test97.out test98.out \
|
test94.out test95.out test96.out test97.out test98.out \
|
||||||
test99.out test100.out test101.out test102.out test103.out
|
test99.out test100.out test101.out test102.out test103.out
|
||||||
|
|
||||||
SCRIPTS_GUI = test16.out
|
SCRIPTS_GUI := test16.out
|
||||||
|
|
||||||
ifdef VALGRIND_CHECK
|
ifdef VALGRIND_CHECK
|
||||||
VALGRIND := valgrind --leak-check=yes --error-exitcode=1 --log-file=valgrind.$*
|
VALGRIND = valgrind --suppressions=../../.valgrind.supp --leak-check=yes --error-exitcode=1 --log-file=valgrind.$*
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef TESTNUM
|
ifdef TESTNUM
|
||||||
SCRIPTS = test$(TESTNUM).out
|
SCRIPTS := test$(TESTNUM).out
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.SUFFIXES: .in .out
|
.SUFFIXES: .in .out
|
||||||
|
Reference in New Issue
Block a user