diff options
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/tests/exception_classes/silenceuncaught_test.cpp | 2 | ||||
-rw-r--r-- | vespalib/src/tests/util/bfloat16/CMakeLists.txt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/vespalib/src/tests/exception_classes/silenceuncaught_test.cpp b/vespalib/src/tests/exception_classes/silenceuncaught_test.cpp index a7102ec9868..1d666524502 100644 --- a/vespalib/src/tests/exception_classes/silenceuncaught_test.cpp +++ b/vespalib/src/tests/exception_classes/silenceuncaught_test.cpp @@ -33,7 +33,7 @@ TEST("that caught silenced exception causes exitcode 0") { // setrlimit with RLIMIT_AS is broken on Darwin #else TEST("that mmap within limits are fine cause exitcode 0") { - Process proc("exec ./vespalib_mmap_app 150000000 10485760 1"); + Process proc("exec ./vespalib_mmap_app 536870912 10485760 1"); EXPECT_EQUAL(proc.join(), 0); } diff --git a/vespalib/src/tests/util/bfloat16/CMakeLists.txt b/vespalib/src/tests/util/bfloat16/CMakeLists.txt index fe40bf72a14..fa5a8ae4fe2 100644 --- a/vespalib/src/tests/util/bfloat16/CMakeLists.txt +++ b/vespalib/src/tests/util/bfloat16/CMakeLists.txt @@ -1,4 +1,5 @@ # Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +if(EXISTS /opt/vespa-deps/include/onnxruntime/core/framework/endian.h) vespa_add_executable(vespalib_bfloat16_test_app TEST SOURCES bfloat16_test.cpp @@ -7,3 +8,4 @@ vespa_add_executable(vespalib_bfloat16_test_app TEST GTest::GTest ) vespa_add_test(NAME vespalib_bfloat16_test_app COMMAND vespalib_bfloat16_test_app) +endif() |