Fix host tests that need the shell.

By making the /system/bin/sh available.

Change-Id: I99200c1ddc922a2f6b5cea8ff2da98aedbe70e7b
This commit is contained in:
Elliott Hughes 2013-09-19 11:28:20 -07:00
parent 045f311b0a
commit e60c4f0a6c

View File

@ -200,6 +200,7 @@ ifeq ($(TARGET_ARCH),x86)
bionic-unit-tests-run-on-host: bionic-unit-tests $(TARGET_OUT_EXECUTABLES)/linker
mkdir -p $(TARGET_OUT_DATA)/local/tmp
cp $(TARGET_OUT_EXECUTABLES)/linker /system/bin
cp $(TARGET_OUT_EXECUTABLES)/sh /system/bin
ANDROID_DATA=$(TARGET_OUT_DATA) \
ANDROID_ROOT=$(TARGET_OUT) \
EXTERNAL_STORAGE=$(TARGET_OUT_DATA)/local/tmp \