blob: f563d25d371d6f20bed3e574c0c23cfcb428833d [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
11 LOCAL_SRC_FILES := $1.sh
12 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)/pm-qa/$(module_name)
13 include $(BUILD_PREBUILT)
14endef
15
16test_num := 01 02 03 04 05 06 07 08 09
17$(foreach item,$(test_num),$(eval $(call $(module_name)_add_executable, $(module_name)_$(item))))