summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
author김용섭/동작제어Lab(SR)/Engineer/삼성전자 <yons.kim@samsung.com>2018-04-16 12:51:12 +0900
committer서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 <sangmin7.seo@samsung.com>2018-04-16 12:51:12 +0900
commitc9a75725cc478781f5aa0d799c8971ff262f3a6a (patch)
treefc9bb172197320826438f555b7564eceb26f4bff /Makefile
parent89ca51722c3b9ddc477b9df54132769c5003e40b (diff)
downloadnnfw-c9a75725cc478781f5aa0d799c8971ff262f3a6a.tar.gz
nnfw-c9a75725cc478781f5aa0d799c8971ff262f3a6a.tar.bz2
nnfw-c9a75725cc478781f5aa0d799c8971ff262f3a6a.zip
Substitue run_tests.sh to test_driver.sh for make check (#669)
Substitue run_tests.sh to test_driver.sh for make check. Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 1 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index c7aae1036..fc6e9d585 100644
--- a/Makefile
+++ b/Makefile
@@ -54,22 +54,6 @@ ACL_COMMAND=scons Werror=1 neon=1 opencl=1 os=linux arch=armv7a examples=0 embed
# TODO: add these for only debug
ACL_COMMAND+=debug=1 asserts=1
-TESTS_FRAMEWORK=tests/framework
-# TODO: add other tests
-TESTS_COMMAND=$(TESTS_FRAMEWORK)/run_test.sh
-
-ifeq ($(USE_LOGNN), 1)
- OPTION_LD_LIB_NNAPI=LD_LIBRARY_PATH=$(BUILD_ALIAS)/tools/nnapi_bindings/bindings/logging
-else
- OPTION_LD_LIB_NNAPI=LD_LIBRARY_PATH=$(INSTALL_ROOT)/lib
-endif
-
-ifeq ($(USE_NNAPI), 1)
- OPTION_USE_NNAPI=USE_NNAPI=1
-else
- OPTION_USE_NNAPI=
-endif
-
all: build
###
@@ -143,7 +127,7 @@ test_internal_cross:
@echo "Can't do tests on cross build"
test_internal:
- $(OPTION_USE_NNAPI) $(OPTION_LD_LIB_NNAPI) $(TESTS_COMMAND)
+ tools/test_driver/test_driver.sh .
build_test_suite: install_internal
@echo "packaging test suite"