am c83837ec: Merge "Make the netdb unit tests work on the host."
* commit 'c83837ec158a14bf84ea702c04f606de3b0599a8': Make the netdb unit tests work on the host.
This commit is contained in:
commit
1dd65cc30c
@ -405,7 +405,9 @@ bionic-unit-tests-run-on-host: bionic-unit-tests $(TARGET_OUT_EXECUTABLES)/$(LIN
|
||||
mkdir -p $(TARGET_OUT_DATA)/local/tmp
|
||||
ln -fs `realpath $(TARGET_OUT_EXECUTABLES)/$(LINKER)` /system/bin
|
||||
ln -fs `realpath $(TARGET_OUT_EXECUTABLES)/sh` /system/bin
|
||||
ln -fs `realpath $(TARGET_OUT)/etc` /system/
|
||||
ANDROID_DATA=$(TARGET_OUT_DATA) \
|
||||
ANDROID_DNS_MODE=local \
|
||||
ANDROID_ROOT=$(TARGET_OUT) \
|
||||
LD_LIBRARY_PATH=$(TARGET_OUT_SHARED_LIBRARIES) \
|
||||
$(TARGET_OUT_DATA_NATIVE_TESTS)/bionic-unit-tests/bionic-unit-tests$(NATIVE_TEST_SUFFIX) $(BIONIC_TEST_FLAGS)
|
||||
@ -421,7 +423,9 @@ bionic-unit-tests-run-on-host32: bionic-unit-tests_32 $(TARGET_OUT_EXECUTABLES)/
|
||||
mkdir -p $(TARGET_OUT_DATA)/local/tmp
|
||||
ln -fs `realpath $(TARGET_OUT_EXECUTABLES)/linker` /system/bin
|
||||
ln -fs `realpath $(TARGET_OUT_EXECUTABLES)/sh` /system/bin
|
||||
ln -fs `realpath $(TARGET_OUT)/etc` /system/
|
||||
ANDROID_DATA=$(TARGET_OUT_DATA) \
|
||||
ANDROID_DNS_MODE=local \
|
||||
ANDROID_ROOT=$(TARGET_OUT) \
|
||||
LD_LIBRARY_PATH=$(2ND_TARGET_OUT_SHARED_LIBRARIES) \
|
||||
$(2ND_TARGET_OUT_DATA_NATIVE_TESTS)/bionic-unit-tests/bionic-unit-tests32 $(BIONIC_TEST_FLAGS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user