tests: replace orphaned variable subs.
@@ -35,25 +35,25 @@ if(OPAE_ENABLE_MOCK)
add_custom_command(TARGET fpga_db
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
- ${OPAE_TEST_ROOT}/framework/mock_sys_tmp-1socket-nlb0.tar.gz
+ ${CMAKE_CURRENT_SOURCE_DIR}/mock_sys_tmp-1socket-nlb0.tar.gz
${CMAKE_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -E copy
- ${OPAE_TEST_ROOT}/framework/mock_sys_tmp-1socket-nlb0-vf.tar.gz
+ ${CMAKE_CURRENT_SOURCE_DIR}/mock_sys_tmp-1socket-nlb0-vf.tar.gz
${CMAKE_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -E copy
- ${OPAE_TEST_ROOT}/framework/mock_sys_tmp-dcp-rc-nlb3.tar.gz
+ ${CMAKE_CURRENT_SOURCE_DIR}/mock_sys_tmp-dcp-rc-nlb3.tar.gz
${CMAKE_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -E copy
- ${OPAE_TEST_ROOT}/framework/mock_sys_tmp-dfl0-nlb0.tar.gz
+ ${CMAKE_CURRENT_SOURCE_DIR}/mock_sys_tmp-dfl0-nlb0.tar.gz
${CMAKE_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -E copy
- ${OPAE_TEST_ROOT}/framework/mock_sys_tmp-dcp-vc.tar.gz
+ ${CMAKE_CURRENT_SOURCE_DIR}/mock_sys_tmp-dcp-vc.tar.gz
${CMAKE_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -E copy
- ${OPAE_TEST_ROOT}/framework/mock_sys_tmp-dfl0_patchset2-nlb0.tar.gz
+ ${CMAKE_CURRENT_SOURCE_DIR}/mock_sys_tmp-dfl0_patchset2-nlb0.tar.gz
${CMAKE_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -E copy
- ${OPAE_TEST_ROOT}/framework/mock_sys_tmp-dcp-rc-dfl0_patchset2-nlb0.tar.gz
+ ${CMAKE_CURRENT_SOURCE_DIR}/mock_sys_tmp-dcp-rc-dfl0_patchset2-nlb0.tar.gz
${CMAKE_BINARY_DIR}
)
endif(OPAE_ENABLE_MOCK)
