[PATCH] D53565: Configure only needed part of test-suite during running subtests

Brian Homerding via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 14 08:49:05 PST 2018


homerdin added a comment.

I would definitely like to be able to specify a specific subset of the test-suite, however I'd try to avoid an additional control macro if we can extend the current ones.

I tried out `-DTEST_SUITE_SUBDIRS=SingleSource/Benchmarks/Misc`.  It gets the desired smaller build tree, but ends up missing `lit.local.cfg` in `SingleSouce` so the tests fail.  @MatzeB would know better if there is anything preventing using a different macro for this functionality.



================
Comment at: MicroBenchmarks/CMakeLists.txt:3
 
-add_subdirectory(libs)
-add_subdirectory(XRay)
-add_subdirectory(LCALS)
-add_subdirectory(harris)
-add_subdirectory(ImageProcessing)
+add_bench_subdirectory(libs)
+add_bench_subdirectory(XRay)
----------------
The other subdirectories in `MicroBenchmarks` depend on the `libs` library.  


Repository:
  rT test-suite

https://reviews.llvm.org/D53565





More information about the llvm-commits mailing list