[vlc-devel] [PATCH 2/4] src: don't run interrupt and thread test on Android

Zhao Zhili quinkblack at foxmail.com
Wed Feb 3 17:04:24 UTC 2021


From: Zhao Zhili <zhilizhao at tencent.com>

The test code depends on pthread cancel which doesn't supported by
Android platform.
---
 src/Makefile.am | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 49947dc6be..b4a8eee605 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -576,7 +576,6 @@ check_PROGRAMS = \
 	test_dictionary \
 	test_executor \
 	test_i18n_atof \
-	test_interrupt \
 	test_list \
 	test_md5 \
 	test_picture_pool \
@@ -593,8 +592,13 @@ check_PROGRAMS = \
 	test_playlist \
 	test_randomizer \
 	test_media_source \
-	test_extensions \
+	test_extensions
+
+if !HAVE_ANDROID
+check_PROGRAMS += \
+	test_interrupt \
 	test_thread
+endif
 
 TESTS = $(check_PROGRAMS) check_symbols
 
-- 
2.27.0



More information about the vlc-devel mailing list