From ee5ea91c1fb24a8b93c43311ac5c2d7b533da1fa Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Fri, 1 Dec 2017 17:11:27 -0800 Subject: [PATCH] Reduce test clang arg set. --- src/test.cc | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/test.cc b/src/test.cc index 56d560ea..d1a11aa0 100644 --- a/src/test.cc +++ b/src/test.cc @@ -128,18 +128,9 @@ void RunIndexTests() { // Run test. // std::cout << "[START] " << path << std::endl; PerformanceImportFile perf; - std::vector> dbs = Parse( - &config, &file_consumer_shared, path, - {"-xc++", "-std=c++11", - "-IC:/Users/jacob/Desktop/cquery/third_party/", - "-IC:/Users/jacob/Desktop/cquery/third_party/doctest/", - "-IC:/Users/jacob/Desktop/cquery/third_party/rapidjson/include", - "-IC:/Users/jacob/Desktop/cquery/src", - "-isystemC:/Program Files (x86)/Microsoft Visual " - "Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include", - "-isystemC:/Program Files (x86)/Windows " - "Kits/10/Include/10.0.15063.0/ucrt"}, - {}, &perf, &index, false /*dump_ast*/); + std::vector> dbs = + Parse(&config, &file_consumer_shared, path, {"-xc++", "-std=c++11"}, + {}, &perf, &index, false /*dump_ast*/); // Parse expected output from the test, parse it into JSON document. std::unordered_map all_expected_output =