clang-tools-extra/clangd/test/index-tools.test
raw| 1 | # Paths are not constructed correctly for the test to run on Windows. |
| 2 | # UNSUPPORTED: system-windows |
| 3 | # REQUIRES: have-benchmarks |
| 4 | # RUN: clangd-indexer %p/Inputs/BenchmarkSource.cpp -- -I%p/Inputs > %t.index |
| 5 | # RUN: %clangd-benchmark-dir/IndexBenchmark %t.index %p/Inputs/requests.json --benchmark_min_time=0.01 |
| 6 | # Pass invalid JSON file and check that IndexBenchmark fails to parse it. |
| 7 | # RUN: not %clangd-benchmark-dir/IndexBenchmark %t.index %t --benchmark_min_time=0.01 |