diff --git a/test/smp/CMakeLists.txt b/test/smp/CMakeLists.txt index 9456a35..31cd50c 100644 --- a/test/smp/CMakeLists.txt +++ b/test/smp/CMakeLists.txt @@ -244,10 +244,11 @@ function(add_threadx_regression_test TEST_SOURCE) ) target_include_directories(${TEST_NAME} PRIVATE ${THREADX4TGFS_ROOT}/third-party/threadx/test/tx/regression) - # These tests need the timer ISR to land in a narrow ThreadX code window. + # Vary timer phase for the interrupt-window and time-sliced contention cases. if(TEST_NAME STREQUAL "threadx_event_flag_isr_set_clear_test" OR TEST_NAME STREQUAL "threadx_event_flag_isr_wait_abort_test" OR - TEST_NAME STREQUAL "threadx_thread_delayed_suspension_test") + TEST_NAME STREQUAL "threadx_thread_delayed_suspension_test" OR + TEST_NAME STREQUAL "threadx_byte_memory_thread_contention_test") target_sources(${TEST_NAME} PRIVATE ../threadx/vp_timer_jitter.c) target_link_options(${TEST_NAME} PRIVATE -Wl,--wrap=_tx_timer_interrupt) endif()