summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-04-14 20:39:35 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-04-14 20:56:33 +0200
commite46eb444902f273a93effdb070c86a315e871d45 (patch)
tree4e3bf57788897b43961f976272d9dfe07706c80d /staging_vespalib
parent10abc0a0c8cfccb3a88f48675ddd49cbd084db9a (diff)
Disable some unit tests on Darwin.
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/staging_vespalib/CMakeLists.txt b/staging_vespalib/CMakeLists.txt
index e76d3078630..f2f8a41b68d 100644
--- a/staging_vespalib/CMakeLists.txt
+++ b/staging_vespalib/CMakeLists.txt
@@ -1,4 +1,9 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+if(NOT CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
+set(STAGING_VESPALIB_DIRECTIO_TESTDIR src/tests/directio)
+set(STAGING_VESPALIB_PROCESS_MEMORY_STATS_TESTDIR src/tests/util/process_memory_stats)
+endif()
+
vespa_define_module(
DEPENDS
fastos
@@ -12,7 +17,7 @@ vespa_define_module(
src/tests/bits
src/tests/clock
src/tests/crc
- src/tests/directio
+ ${STAGING_VESPALIB_DIRECTIO_TESTDIR}
src/tests/encoding/base64
src/tests/fileheader
src/tests/floatingpointtype
@@ -33,7 +38,7 @@ vespa_define_module(
src/tests/sequencedtaskexecutor
src/tests/singleexecutor
src/tests/timer
- src/tests/util/process_memory_stats
+ ${STAGING_VESPALIB_PROCESS_MEMORY_STATS_TESTDIR}
src/tests/xmlserializable
LIBS