From: 박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 Date: Tue, 30 Oct 2018 04:21:39 +0000 (+0900) Subject: [enco] Allow users to disable caffe test (#2037) X-Git-Tag: nncc_backup~1457 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d7896d6c844c7df273f7aafb512231566ac70a7;p=platform%2Fcore%2Fml%2Fnnfw.git [enco] Allow users to disable caffe test (#2037) With this commit, users are now able to disable caffe test via CMake configuration. Note that this commit does not change the default behavior. Signed-off-by: Jonghyun Park --- diff --git a/contrib/enco/test/caffe/CMakeLists.txt b/contrib/enco/test/caffe/CMakeLists.txt index 6a282a5..23ad917 100644 --- a/contrib/enco/test/caffe/CMakeLists.txt +++ b/contrib/enco/test/caffe/CMakeLists.txt @@ -1,3 +1,9 @@ +option(ENCO_CAFFE_TEST "Build and run Caffe tests" ON) + +if(NOT ENCO_CAFFE_TEST) + return() +endif(NOT ENCO_CAFFE_TEST) + ### ### Common function(s) ###