Skip to content

Commit

Permalink
Fix 2.6.x latency security XFAIL compilation without security (#5037)
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <[email protected]>
  • Loading branch information
Mario-DL authored Jul 9, 2024
1 parent a55c77e commit 126cfda
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions test/performance/latency/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -309,3 +309,12 @@ set(LATENCY_XFAIL_LIST XFAIL_LATENCY)
foreach(LATENCY_XFAIL_TEST ${LATENCY_XFAIL_LIST})
add_xfail_label(${CMAKE_CURRENT_SOURCE_DIR}/${LATENCY_XFAIL_TEST}.list)
endforeach()

# If there is security, add a secure test as well with loans
if(ADD_LATENCY_SECURITY)
set(LATENCY_SECURITY_XFAIL_LIST XFAIL_LATENCY_SECURITY)

foreach(LATENCY_SECURITY_XFAIL_TEST ${LATENCY_SECURITY_XFAIL_LIST})
add_xfail_label(${CMAKE_CURRENT_SOURCE_DIR}/${LATENCY_SECURITY_XFAIL_TEST}.list)
endforeach()
endif()
1 change: 0 additions & 1 deletion test/performance/latency/XFAIL_LATENCY.list
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
performance.latency.interprocess_best_effort_shm.security
performance.latency.interprocess_reliable_shm
performance.latency.interprocess_best_effort_shm.data_loans_and_sharing
2 changes: 2 additions & 0 deletions test/performance/latency/XFAIL_LATENCY_SECURITY.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
performance.latency.interprocess_best_effort_shm.security

0 comments on commit 126cfda

Please sign in to comment.