Skip to content

Commit

Permalink
i#2154 Android64: Get more tests running on device (#7332)
Browse files Browse the repository at this point in the history
Adds copy_target_to_device() for targets built with tobuild_ops() and
tobuild() so these tests can be easily run on Android devices as well.

Issue: #2154, #1874
  • Loading branch information
jackgallagher-arm authored Mar 7, 2025
1 parent 813b9c3 commit 111b344
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions suite/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ function(tobuild test source)
add_exe(${test} ${source})
set(testlist_normal ${testlist_normal} ${test} PARENT_SCOPE)
set(${test}_source ${source} PARENT_SCOPE)
copy_target_to_device(${test} "${location_suffix}")
endfunction(tobuild)

# normal app w/ options
Expand All @@ -690,6 +691,7 @@ function(tobuild_ops test source dr_ops exe_ops)
set(${test}_source ${source} PARENT_SCOPE)
set(${test}_dr_ops ${dr_ops} PARENT_SCOPE)
set(${test}_exe_ops ${exe_ops} PARENT_SCOPE)
copy_target_to_device(${test} "${location_suffix}")
endfunction(tobuild_ops)

# normal app that has a dll and an executable
Expand Down

0 comments on commit 111b344

Please sign in to comment.