From a95e87d827381a7f87c01f0befc2475f9478e63b Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Mon, 17 Jun 2019 17:02:39 -0700 Subject: [PATCH] HDFS-11950. Disable libhdfs zerocopy test on Mac. Contributed by Akira Ajisaka. Signed-off-by: Wei-Chiu Chuang --- .../src/main/native/libhdfs/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/CMakeLists.txt b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/CMakeLists.txt index 3a5749848b3..a7fb3111251 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/CMakeLists.txt +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/CMakeLists.txt @@ -62,7 +62,7 @@ build_libhdfs_test(test_libhdfs_threaded hdfs_static expect.c test_libhdfs_threa link_libhdfs_test(test_libhdfs_threaded hdfs_static native_mini_dfs) add_libhdfs_test(test_libhdfs_threaded hdfs_static) -if (NOT WIN32) +if (NOT WIN32 AND NOT APPLE) build_libhdfs_test(test_libhdfs_zerocopy hdfs_static expect.c test_libhdfs_zerocopy.c) link_libhdfs_test(test_libhdfs_zerocopy hdfs_static native_mini_dfs ${OS_LINK_LIBRARIES}) add_libhdfs_test(test_libhdfs_zerocopy hdfs_static)