From aabfe14ed2084dec0cd63d3e9d9ec789e5b94acf Mon Sep 17 00:00:00 2001
From: Botond Baranyi <botond.baranyi@ericsson.com>
Date: Fri, 13 Jan 2017 13:37:27 +0100
Subject: [PATCH] Fixed regtest build memory leak check to only happen in debug
 mode

Change-Id: I65d4ddd03cbd6a0521ffd09d9522fbd7ce77d6ff
Signed-off-by: Botond Baranyi <botond.baranyi@ericsson.com>
---
 regression_test/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/regression_test/Makefile b/regression_test/Makefile
index f413c81e3..274622c4f 100644
--- a/regression_test/Makefile
+++ b/regression_test/Makefile
@@ -98,10 +98,12 @@ endif
 
 # Build in parallel
 parallel build-par: compileonly $(DIRS)
+ifeq ($(DEBUG), yes)
 	@echo "--------------------------------------"
 	@echo "List of memory leaks during the build:"
 	@echo "--------------------------------------"
 	@perl vcheck.pl build.txt
+endif
 
 # To generate a report:
 # First, build everything (incl. compileonly); possibly in parallel.
-- 
GitLab