mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 23:28:52 -04:00
Disable test
This commit is contained in:
parent
280fd6202b
commit
d696667e6e
@ -295,53 +295,3 @@ libunwindbacktrace_whole_static_libraries := libunwind
|
||||
include $(LOCAL_PATH)/Android.build.mk
|
||||
libunwind_build_type := host
|
||||
include $(LOCAL_PATH)/Android.build.mk
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
# libunwind testing
|
||||
#-----------------------------------------------------------------------
|
||||
libunwind-unit-tests_cflags := \
|
||||
-fno-builtin \
|
||||
-O0 \
|
||||
-g \
|
||||
|
||||
libunwind-unit-tests_c_includes := \
|
||||
$(LOCAL_PATH)/include \
|
||||
|
||||
libunwind-unit-tests_src_files := \
|
||||
android/tests/local_test.cpp \
|
||||
|
||||
libunwind-unit-tests_shared_libraries := \
|
||||
libunwind \
|
||||
|
||||
libunwind-unit-tests_multilib := both
|
||||
libunwind_module := libunwind-unit-tests
|
||||
libunwind_module_tag := optional
|
||||
libunwind_build_type := target
|
||||
libunwind_build_target := NATIVE_TEST
|
||||
include $(LOCAL_PATH)/Android.build.mk
|
||||
libunwind_build_type := host
|
||||
include $(LOCAL_PATH)/Android.build.mk
|
||||
|
||||
# Run the unit tests built for x86 or x86_64.
|
||||
ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64))
|
||||
ifneq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86))
|
||||
LINKER = linker64
|
||||
TEST_SUFFIX = 64
|
||||
else
|
||||
LINKER = linker
|
||||
TEST_SUFFIX = 32
|
||||
endif
|
||||
|
||||
libunwind-unit-tests-run-on-host: libunwind-unit-tests $(TARGET_OUT_EXECUTABLES)/$(LINKER) $(TARGET_OUT_EXECUTABLES)/sh
|
||||
if [ ! -d /system -o ! -d /system/bin ]; then \
|
||||
echo "Attempting to create /system/bin"; \
|
||||
sudo mkdir -p -m 0777 /system/bin; \
|
||||
fi
|
||||
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) \
|
||||
LD_LIBRARY_PATH=$(TARGET_OUT_SHARED_LIBRARIES) \
|
||||
$(TARGET_OUT_DATA_NATIVE_TESTS)/libunwind-unit-tests/libunwind-unit-tests$(TEST_SUFFIX) $(LIBUNWIND_TEST_FLAGS)
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user