2021-12-01 19:28:24 +00:00
|
|
|
function(AddShowTest name file_basename)
|
|
|
|
add_test(
|
|
|
|
NAME ${name}
|
|
|
|
COMMAND ${CMAKE_COMMAND}
|
|
|
|
-D transmission_show:string=$<TARGET_FILE:transmission-show>
|
|
|
|
-D torrent_file:string=assets/${file_basename}.torrent
|
|
|
|
-D reference_file:string=${CMAKE_CURRENT_SOURCE_DIR}/assets/${file_basename}.show
|
|
|
|
-P "${CMAKE_CURRENT_SOURCE_DIR}/run_transmission_show.cmake"
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
)
|
|
|
|
endfunction()
|
|
|
|
|
2022-07-02 17:16:34 +00:00
|
|
|
# disabled AddShowTest(transmission-show-bittorrent-v2 bittorrent-v2-test)
|
2022-07-01 14:49:33 +00:00
|
|
|
AddShowTest(transmission-show-bittorrent-v2-hybrid-test bittorrent-v2-hybrid-test)
|
2021-12-01 19:28:24 +00:00
|
|
|
AddShowTest(transmission-show-inner-sanctum Inner_Sanctum_movie_archive)
|
2022-05-24 04:05:16 +00:00
|
|
|
AddShowTest(transmission-show-thor Thor_and_the_Amazon_Women.avi)
|
|
|
|
AddShowTest(transmission-show-ubuntu ubuntu-20.04.3-desktop-amd64.iso)
|