From bd1f3868c963236ff28a09f544824c11b570dc5e Mon Sep 17 00:00:00 2001 From: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com> Date: Fri, 1 Mar 2024 14:16:56 -0500 Subject: [PATCH] only use EOS VM OC for contract test on Linux --- tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 00fec591..ff787caa 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -53,6 +53,6 @@ add_eosio_test_executable( unit_test ${CMAKE_SOURCE_DIR}/external/ethash/lib/ethash/primes.c ) -add_test(NAME consensus_tests COMMAND unit_test --report_level=detailed --color_output --run_test=evm_runtime_tests -- --eos-vm-oc) +add_test(NAME consensus_tests COMMAND unit_test --report_level=detailed --color_output --run_test=evm_runtime_tests -- $<$:--eos-vm-oc>) -add_test(NAME unit_tests COMMAND unit_test --report_level=detailed --color_output --run_test=!evm_runtime_tests -- --eos-vm-oc) +add_test(NAME unit_tests COMMAND unit_test --report_level=detailed --color_output --run_test=!evm_runtime_tests -- $<$:--eos-vm-oc>)