blob: 76e7c22c4536b480c9df8a2ea8f75f4c22183fac [file] [log] [blame]
kejun.zhouc0352d42012-05-31 14:49:27 +08001include $(call all-subdir-makefiles)
2LOCAL_PATH:= $(call my-dir)
3
4module_name = cpufreq
5
6define $(module_name)_add_executable
7 include $(CLEAR_VARS)
8 LOCAL_MODULE_TAGS := optional
9 LOCAL_MODULE_CLASS := tests
10 LOCAL_MODULE := $1.sh
kejun.zhou12062442012-06-18 13:43:30 +080011 systemtarball: $1.sh
Vishal Bhoj8ed83912015-02-20 11:38:03 +000012 systemimage: $1.sh
kejun.zhouc0352d42012-05-31 14:49:27 +080013 LOCAL_SRC_FILES := $1.sh
Sanjay Singh Rawatd585fab2014-07-30 16:21:43 +053014 LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)/pm-qa/$(module_name)
kejun.zhouc0352d42012-05-31 14:49:27 +080015 include $(BUILD_PREBUILT)
16endef
17
Sanjay Singh Rawat736aef62014-01-29 12:15:02 +053018test_num := sanity 01 02 03 04 05 06 07 08 09
kejun.zhouc0352d42012-05-31 14:49:27 +080019$(foreach item,$(test_num),$(eval $(call $(module_name)_add_executable, $(module_name)_$(item))))