am 695781b6: Merge "Make host tests depend on /system/etc/hosts."
* commit '695781b6f0419f82939176a6ec1a240300d9f036': Make host tests depend on /system/etc/hosts.
This commit is contained in:
commit
5939060ba5
@ -411,7 +411,7 @@ ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64))
|
|||||||
# Make sure to create ANDROID_DATA/local/tmp if doesn't exist.
|
# Make sure to create ANDROID_DATA/local/tmp if doesn't exist.
|
||||||
# bionic itself should always work relative to ANDROID_DATA or ANDROID_ROOT.
|
# bionic itself should always work relative to ANDROID_DATA or ANDROID_ROOT.
|
||||||
# BIONIC_TEST_FLAGS is either empty or it comes from the user.
|
# BIONIC_TEST_FLAGS is either empty or it comes from the user.
|
||||||
bionic-unit-tests-run-on-host-prepare: $(TARGET_OUT_EXECUTABLES)/$(LINKER) $(TARGET_OUT_EXECUTABLES)/sh
|
bionic-unit-tests-run-on-host-prepare: $(TARGET_OUT_EXECUTABLES)/$(LINKER) $(TARGET_OUT)/etc/hosts $(TARGET_OUT_EXECUTABLES)/sh
|
||||||
if [ ! -d /system ]; then \
|
if [ ! -d /system ]; then \
|
||||||
echo "Attempting to create /system"; \
|
echo "Attempting to create /system"; \
|
||||||
sudo mkdir -p -m 0777 /system; \
|
sudo mkdir -p -m 0777 /system; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user