[XRay][compiler-rt] Fix unit test adding logic.
authorDean Michael Berris <dberris@google.com>
Tue, 6 Dec 2016 08:22:31 +0000 (08:22 +0000)
committerDean Michael Berris <dberris@google.com>
Tue, 6 Dec 2016 08:22:31 +0000 (08:22 +0000)
commitd94c0bf4bef5f498e1548ff044f533acd7a6e3e5
tree1537079d4f743a998658bbc4600d5b0bab5d7949
parentb34eef7b4139f6bee2f5b5c1b740bf2ad51627d4
[XRay][compiler-rt] Fix unit test adding logic.

Before this change we would add the unit tests potentially even if we
don't actually include the unit tests.

This is a follow-up on D26232.

llvm-svn: 288785
compiler-rt/test/xray/CMakeLists.txt