diff options
| author | Reid Kleckner <rnk@google.com> | 2018-09-14 20:51:07 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2018-09-14 20:51:07 +0000 |
| commit | 11511ab5cf306c7c688917bdd69e47dac7292756 (patch) | |
| tree | 7db1326540c07ba467fabd4d6046ab5cf9abd806 | |
| parent | 29bb7641ad829f7699d8c9ddd540565ee8af4736 (diff) | |
| download | bcm5719-llvm-11511ab5cf306c7c688917bdd69e47dac7292756.tar.gz bcm5719-llvm-11511ab5cf306c7c688917bdd69e47dac7292756.zip | |
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
| -rw-r--r-- | clang-tools-extra/test/clangd/index-tools.test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clangd/index-tools.test b/clang-tools-extra/test/clangd/index-tools.test index e17d2fc84eb..93cf56fea37 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 |

