From: Reid Kleckner Date: Fri, 14 Sep 2018 20:51:07 +0000 (+0000) Subject: Mark index-tools.test as REQUIRES: shell so that it does not run with the internal... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11511ab5cf306c7c688917bdd69e47dac7292756;p=platform%2Fupstream%2Fllvm.git Mark index-tools.test as REQUIRES: shell so that it does not run with the internal lit shell which does not support "if" llvm-svn: 342282 --- diff --git a/clang-tools-extra/test/clangd/index-tools.test b/clang-tools-extra/test/clangd/index-tools.test index e17d2fc..93cf56f 100644 --- a/clang-tools-extra/test/clangd/index-tools.test +++ b/clang-tools-extra/test/clangd/index-tools.test @@ -1,5 +1,6 @@ # RUN: clangd-indexer %p/Inputs/BenchmarkSource.cpp -- -I%p/Inputs > %t.index # 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. +# REQUIRES: shell # RUN: if [ -f %clangd-benchmark-dir/IndexBenchmark ]; then %clangd-benchmark-dir/IndexBenchmark %t.index %p/Inputs/requests.json --benchmark_min_time=0.01 ; fi # Pass invalid JSON file and check that IndexBenchmark fails to parse it. # RUN: if [ -f %clangd-benchmark-dir/IndexBenchmark ]; then not %clangd-benchmark-dir/IndexBenchmark %t.index %t --benchmark_min_time=0.01 ; fi