Searched refs:TestDir (Results 1 – 7 of 7) sorted by relevance
4 # RUN: rm -rf %t.TestDir5 # RUN: mkdir %t.TestDir6 # RUN: touch %t.TestDir/Output.TestFile7 # RUN: chmod 400 %t.TestDir8 # RUN: not llvm-elfabi %s --output-target=elf64-little %t.TestDir/Output.TestFile 2>&1 | FileCheck …9 # RUN: chmod 777 %t.TestDir10 # RUN: rm -rf %t.TestDir18 # ERR: Permission denied when trying to open `{{.*}}.TestDir/Output.TestFile` for writing
28 std::string TestDir;37 TestDir = std::string(Dir.str()); in SetUp()48 llvm::sys::fs::remove(TestDir); in TearDown()52 llvm::SmallString<256> Path(TestDir); in WriteFile()64 llvm::SmallString<256> Path(TestDir); in MapUnsavedFile()
517 std::string ModulesCache = std::string("-fmodules-cache-path=") + TestDir; in TEST_F()519 "-I", TestDir.c_str() }; in TEST_F()
355 std::string TestDir; member in LibclangReparseTest363 TestDir = Dir.str(); in SetUp()373 llvm::sys::fs::remove(TestDir); in TearDown()377 llvm::SmallString<256> Path(TestDir); in WriteFile()449 std::string ModulesCache = std::string("-fmodules-cache-path=") + TestDir; in TEST_F()451 "-I", TestDir.c_str() }; in TEST_F()
15 static int test(unsigned Mode, const char *TestDir) { in test() argument19 char *Dir = strdup(TestDir); in test()
534 fs::make_absolute(TestScheme::TestDir, Path); in getAbsolutePath()541 if (!Body.consume_front(TestScheme::TestDir)) in uriFromAbsolutePath()543 TestDir); in uriFromAbsolutePath()550 const static char TestDir[]; member in clang::clangd::__anon6f8f40260111::TestScheme554 const char TestScheme::TestDir[] = "C:\\clangd-test"; member in clang::clangd::__anon6f8f40260111::TestScheme556 const char TestScheme::TestDir[] = "/clangd-test"; member in clang::clangd::__anon6f8f40260111::TestScheme
1040 TempDir TestDir("unittest", /*Unique*/ true); in TEST() local1043 llvm::sys::path::append(TestCfg, TestDir.path(), "foo"); in TEST()1054 llvm::sys::path::append(TestCfg2, TestDir.path(), "subconfig"); in TEST()1067 EXPECT_TRUE(StringRef(CurrDir) != TestDir.path()); in TEST()