Fixing iree_cc_test android goo to use the proper executable name. (#5660)
diff --git a/build_tools/cmake/iree_cc_test.cmake b/build_tools/cmake/iree_cc_test.cmake
index a516c4e..72279dc 100644
--- a/build_tools/cmake/iree_cc_test.cmake
+++ b/build_tools/cmake/iree_cc_test.cmake
@@ -137,7 +137,7 @@
${_TEST_NAME}
COMMAND
"${CMAKE_SOURCE_DIR}/build_tools/cmake/run_android_test.${IREE_HOST_SCRIPT_EXT}"
- "${_ANDROID_REL_DIR}/${_NAME}"
+ "${_ANDROID_REL_DIR}/$<TARGET_FILE_NAME:${_NAME}>"
)
# Use environment variables to instruct the script to push artifacts
# onto the Android device before running the test. This needs to match