Fix buildbots after r342027
authorKirill Bobyrev <kbobyrev.opensource@gmail.com>
Wed, 12 Sep 2018 09:27:55 +0000 (09:27 +0000)
committerKirill Bobyrev <kbobyrev.opensource@gmail.com>
Wed, 12 Sep 2018 09:27:55 +0000 (09:27 +0000)
llvm-svn: 342036

clang-tools-extra/test/clangd/index-tools.test

index 56b9c9e..48dbf59 100644 (file)
@@ -1,2 +1,3 @@
 # RUN: global-symbol-builder %p/Inputs/BenchmarkSource.cpp -- -I%p/Inputs > %t.index
-# RUN: %clangd-benchmark-dir/IndexBenchmark %t.index %p/Inputs/requests.log --benchmark_min_time=0.01
+# FIXME: By default, benchmarks are excluded from the list of default targets hence not built. Find a way to depend on benchmarks to run the next command.
+# RUN: if [ -f %clangd-benchmark-dir/IndexBenchmark ]; then %clangd-benchmark-dir/IndexBenchmark %t.index %p/Inputs/requests.log --benchmark_min_time=0.01 ; fi