From 7b737e91a111cc67b18bcedfe972d5d4dba900be Mon Sep 17 00:00:00 2001 From: Lukas Joswiak Date: Fri, 15 Apr 2022 16:09:33 -0700 Subject: [PATCH] Disable upgrade tests an non-x86_64 architectures --- bindings/c/CMakeLists.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/bindings/c/CMakeLists.txt b/bindings/c/CMakeLists.txt index ab8aec1402..3f1d12c6ad 100644 --- a/bindings/c/CMakeLists.txt +++ b/bindings/c/CMakeLists.txt @@ -253,25 +253,25 @@ endif() ${CMAKE_SOURCE_DIR}/bindings/c/test/apitester/tests ) -if(NOT USE_SANITIZER) - add_test(NAME fdb_c_upgrade_single_threaded + if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT USE_SANITIZER) + add_test(NAME fdb_c_upgrade_single_threaded COMMAND ${CMAKE_SOURCE_DIR}/tests/TestRunner/upgrade_test.py --build-dir ${CMAKE_BINARY_DIR} --disable-log-dump --test-file ${CMAKE_SOURCE_DIR}/bindings/c/test/apitester/tests/upgrade/MixedApiWorkloadSingleThr.toml --upgrade-path "6.3.23" "7.0.0" "6.3.23" --process-number 1 - ) + ) - add_test(NAME fdb_c_upgrade_multi_threaded - COMMAND ${CMAKE_SOURCE_DIR}/tests/TestRunner/upgrade_test.py - --build-dir ${CMAKE_BINARY_DIR} - --disable-log-dump - --test-file ${CMAKE_SOURCE_DIR}/bindings/c/test/apitester/tests/upgrade/MixedApiWorkloadMultiThr.toml - --upgrade-path "6.3.23" "7.0.0" "6.3.23" - --process-number 3 - ) -endif() + add_test(NAME fdb_c_upgrade_multi_threaded + COMMAND ${CMAKE_SOURCE_DIR}/tests/TestRunner/upgrade_test.py + --build-dir ${CMAKE_BINARY_DIR} + --disable-log-dump + --test-file ${CMAKE_SOURCE_DIR}/bindings/c/test/apitester/tests/upgrade/MixedApiWorkloadMultiThr.toml + --upgrade-path "6.3.23" "7.0.0" "6.3.23" + --process-number 3 + ) + endif() endif()