Unverified Commit 8bc11c04 by Gennadiy Civil Committed by GitHub

Merge pull request #924 from wind-river-cdt/cross-testing-patch-1

Fix #923 - support CMAKE_CROSSCOMPILING_EMULATOR for tests
parents 7800ba3e 47b57ff1
......@@ -230,7 +230,7 @@ find_package(PythonInterp)
# from the given source files with the given compiler flags.
function(cxx_test_with_flags name cxx_flags libs)
cxx_executable_with_flags(${name} "${cxx_flags}" "${libs}" ${ARGN})
add_test(${name} ${name})
add_test(NAME ${name} COMMAND ${name})
endfunction()
# cxx_test(name libs srcs...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment