Fix up CMakeLists.txt and add multiple .test files for MicroBenchmarks/XRay/
Follow-up work as suggested by https://reviews.llvm.org/D32272#794759
Details
Diff Detail
- Build Status
Buildable 8970 Build 8970: arc lint + arc unit
Event Timeline
LGTM when you switch to llvm_test_executable(), thanks.
MicroBenchmarks/XRay/CMakeLists.txt | ||
---|---|---|
7–22 | You should use llvm_test_executable() instead of add_executable. That way you can keep using list(APPEND CPPFLAGS) and will automatically get some dependencies right (everything in the test-suite has to depend on the time-it tool, as we use that to measure the compile time). |
LGTM
MicroBenchmarks/XRay/CMakeLists.txt | ||
---|---|---|
7 | I'm surprised you had to put llvm_test_run here. I assume you were getting errors otherwise, so it's fine to move forward with the patch as is. I'll investigate why this couldn't be left out separately. |
Thanks @MatzeB -- I ran out of time today. If you don't get to landing this, I'll go land this next week.
Cheers
I'm surprised you had to put llvm_test_run here. I assume you were getting errors otherwise, so it's fine to move forward with the patch as is. I'll investigate why this couldn't be left out separately.