From 9e8b370b826e662879fcec9193956ec59a7db331 Mon Sep 17 00:00:00 2001
From: Jonas Karlman <jonas@kwiboo.se>
Date: Sun, 24 Jun 2018 11:07:44 +0200
Subject: [PATCH] disable unit tests by default

---
 test/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 257a3efa..961086ae 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -10,7 +10,7 @@ macro(add_mpp_test module)
     #message(STATUS "test_name : ${test_name}")
     #message(STATUS "test_tag  : ${test_tag}")
 
-    option(${test_tag} "Build mpp ${module} unit test" ON)
+    option(${test_tag} "Build mpp ${module} unit test" OFF)
     if(${test_tag})
         add_executable(${test_name} ${test_name}.c mpp_event_trigger.c mpp_parse_cfg.c)
         target_link_libraries(${test_name} ${MPP_SHARED} utils)
@@ -54,7 +54,7 @@ macro(add_legacy_test module)
     #message(STATUS "test_name : ${test_name}")
     #message(STATUS "test_tag  : ${test_tag}")
 
-    option(${test_tag} "Build legacy ${module} unit test" ON)
+    option(${test_tag} "Build legacy ${module} unit test" OFF)
     if(${test_tag})
         add_executable(${test_name} ${test_name}.c)
         target_link_libraries(${test_name} ${VPU_SHARED} utils)
