Summary: If we are building the tests for the runtimes we should make them depend on gtest so that gtest is built and ready before we run any of the check-* targets.
Reviewers: phosek, compnerd
Reviewed By: compnerd
Subscribers: mgorny, winksaville, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D62269
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361436
91177308-0d34-0410-b5e6-
96231b3b80d8
obj2yaml
sancov
sanstats
+ gtest_main
+ gtest
)
foreach(target ${test_targets} ${SUB_CHECK_TARGETS})
add_dependencies(${target} ${RUNTIMES_TEST_DEPENDS})