File tree 1 file changed +14
-12
lines changed
1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -293,19 +293,21 @@ if(BUILD_TESTS)
293
293
--scenario ${CMAKE_SOURCE_DIR} /tests/simple_logging_scenario.json
294
294
)
295
295
296
- add_e2e_test(
297
- NAME election_tests
298
- PYTHON_SCRIPT ${CMAKE_SOURCE_DIR} /tests/election.py
299
- ADDITIONAL_ARGS
300
- --election-timeout 2000
301
- )
296
+ if (NOT PBFT)
297
+ add_e2e_test(
298
+ NAME election_tests
299
+ PYTHON_SCRIPT ${CMAKE_SOURCE_DIR} /tests/election.py
300
+ ADDITIONAL_ARGS
301
+ --election-timeout 2000
302
+ )
302
303
303
- add_e2e_test(
304
- NAME recovery_tests
305
- PYTHON_SCRIPT ${CMAKE_SOURCE_DIR} /tests/recovery.py
306
- ADDITIONAL_ARGS
307
- ${RECOVERY_ARGS}
308
- )
304
+ add_e2e_test(
305
+ NAME recovery_tests
306
+ PYTHON_SCRIPT ${CMAKE_SOURCE_DIR} /tests/recovery.py
307
+ ADDITIONAL_ARGS
308
+ ${RECOVERY_ARGS}
309
+ )
310
+ endif ()
309
311
310
312
if (BUILD_SMALLBANK)
311
313
include (${CMAKE_CURRENT_SOURCE_DIR} /samples/apps/smallbank/smallbank.cmake)
You can’t perform that action at this time.
0 commit comments