Home
last modified time | relevance | path

Searched refs:TestDir (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/test/tools/llvm-elfabi/
Dfail-file-write.test4 # RUN: rm -rf %t.TestDir
5 # RUN: mkdir %t.TestDir
6 # RUN: touch %t.TestDir/Output.TestFile
7 # RUN: chmod 400 %t.TestDir
8 # RUN: not llvm-elfabi %s --output-target=elf64-little %t.TestDir/Output.TestFile 2>&1 | FileCheck …
9 # RUN: chmod 777 %t.TestDir
10 # RUN: rm -rf %t.TestDir
18 # ERR: Permission denied when trying to open `{{.*}}.TestDir/Output.TestFile` for writing
/external/llvm-project/clang/unittests/libclang/
DTestUtils.h28 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()
DLibclangTest.cpp517 std::string ModulesCache = std::string("-fmodules-cache-path=") + TestDir; in TEST_F()
519 "-I", TestDir.c_str() }; in TEST_F()
/external/clang/unittests/libclang/
DLibclangTest.cpp355 std::string TestDir; member in LibclangReparseTest
363 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()
/external/llvm-project/compiler-rt/test/profile/
Dinstrprof-set-dir-mode.c15 static int test(unsigned Mode, const char *TestDir) { in test() argument
19 char *Dir = strdup(TestDir); in test()
/external/llvm-project/clang-tools-extra/clangd/tool/
DClangdMain.cpp534 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::TestScheme
554 const char TestScheme::TestDir[] = "C:\\clangd-test"; member in clang::clangd::__anon6f8f40260111::TestScheme
556 const char TestScheme::TestDir[] = "/clangd-test"; member in clang::clangd::__anon6f8f40260111::TestScheme
/external/llvm-project/llvm/unittests/Support/
DCommandLineTest.cpp1040 TempDir TestDir("unittest", /*Unique*/ true); in TEST() local
1043 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()