From 2f1a2eb0f20a1a4f8ffd464e52e2c8f1860bb167 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Fri, 7 Mar 2014 11:58:06 -0300 Subject: Fix `free_all_mem` and EXITFREE definition Because of the '$' in `if(DEFINED $ENV{VALGRIND_CHECK})` EXITFREE wasn't being defined, so the `free_all_mem` wasn't being included or called in the resulting binary. This commit fixes that, and also adds includes needed for `free_all_mem` compilation. --- src/testdir/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testdir') diff --git a/src/testdir/Makefile b/src/testdir/Makefile index be4fc279ab..5477194300 100644 --- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -79,7 +79,7 @@ test1.out: test1.in # 200 msec is sufficient, but only modern sleep supports a fraction of # a second, fall back to a second if it fails. @-/bin/sh -c "sleep .2 > /dev/null 2>&1 || sleep 1" - -$(RUN_VIM) $*.in + $(RUN_VIM) $*.in # For flaky tests retry one time. @/bin/sh -c "if test -f test.out -a $* = test61; then \ -- cgit