from :
http://blog.csdn.net/xhcbird/article/details/17960995
http://download.csdn.net/detail/rainbow0106/8122437
1.下载memtester:http://pyropus.ca/software/memtester/
2.解压到android源代码external目录下。
3.使用下述Android.mk文件:
- # used to gen: memtester
- # by bigBird
- # 2014-1-7
- LOCAL_PATH := $(call my-dir)
- include $(CLEAR_VARS)
- LOCAL_MODULE := memtester
- LOCAL_MODULE_TAGS := optional
- # memtester source files
- LOCAL_SRC_FILES := memtester.c tests.c
- LOCAL_C_INCLUDES := $(LOCAL_PATH)/
- include $(BUILD_EXECUTABLE)
4.配置环境后,mmm