From c5ceccaeee658e08bb00fa5742ff7dc4416d8dbd Mon Sep 17 00:00:00 2001 From: Antoniu Pop Date: Thu, 17 Nov 2022 13:51:04 +0000 Subject: [PATCH] tests: disable dataflow tests when compiler not built with dataflow support. --- compiler/tests/end_to_end_tests/end_to_end_jit_fhe.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compiler/tests/end_to_end_tests/end_to_end_jit_fhe.cc b/compiler/tests/end_to_end_tests/end_to_end_jit_fhe.cc index 7bd17217f..a0cf3dbd4 100644 --- a/compiler/tests/end_to_end_tests/end_to_end_jit_fhe.cc +++ b/compiler/tests/end_to_end_tests/end_to_end_jit_fhe.cc @@ -260,7 +260,10 @@ INSTANTIATE_END_TO_END_TEST_SUITE_FROM_ALL_TEST_FILES( JitTest, {defaultOptions()}, mlir::concretelang::JITSupport()) std::vector allOptions{ - defaultOptions(), loopOptions(), asyncOptions(), dataflowOptions(), + defaultOptions(), loopOptions(), asyncOptions(), +#ifdef CONCRETELANG_DATAFLOW_EXECUTION_ENABLED + dataflowOptions(), +#endif #ifdef CONCRETELANG_CUDA_SUPPORT gpuOptions(), #endif