Home
last modified time | relevance | path

Searched refs:testFile (Results 1 – 5 of 5) sorted by relevance

/llvm-project/clang/utils/analyzer/
H A Dupdate_plist_test.pl8 my $testFile = shift @ARGV;
9 die "error: cannot read file $testFile\n" if (! -r $testFile);
19 open (IN, $testFile) or die "cannot open $testFile\n";
51 `cp $filename $testFile`;
52 print "updated $testFile\n";
/llvm-project/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
H A Dctor.pass.cpp101 path const testFile = testDir / "testFile"; in access_denied_test_case() local
103 env.create_file(testFile, 42); in access_denied_test_case()
144 path const testFile = testDir / "inaccessible_file"; in access_denied_to_file_test_case() local
147 path const testFile = env.make_env_path("file1"); in access_denied_to_file_test_case() local
148 env.create_file(testFile, 42); in access_denied_to_file_test_case()
151 permissions(testFile, perms::none); in access_denied_to_file_test_case()
158 RDI it(testFile, ec); in access_denied_to_file_test_case()
166 RDI it(testFile, directory_options::skip_permission_denied, ec); in access_denied_to_file_test_case()
216 const path testFile = static_env.File; in test_open_on_file_fails() local
220 RDI it(testFile, ec); in test_open_on_file_fails()
[all …]
/llvm-project/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/
H A Dctor.pass.cpp101 path const testFile = testDir / "testFile"; in access_denied_test_case() local
103 env.create_file(testFile, 42); in access_denied_test_case()
137 path const testFile = env.make_env_path("file1"); in access_denied_to_file_test_case() local
138 env.create_file(testFile, 42); in access_denied_to_file_test_case()
141 permissions(testFile, perms::none); in access_denied_to_file_test_case()
147 directory_iterator it(testFile, ec); in access_denied_to_file_test_case()
155 directory_iterator it(testFile, directory_options::skip_permission_denied, ec); in access_denied_to_file_test_case()
205 const path testFile = static_env.File; in test_open_on_file_fails() local
209 directory_iterator it(testFile, ec); in test_open_on_file_fails()
214 TEST_THROWS_TYPE(filesystem_error, directory_iterator(testFile)); in test_open_on_file_fails()
/llvm-project/clang/unittests/DirectoryWatcher/
H A DDirectoryWatcherTest.cpp72 SmallString<128> getPathInWatched(const std::string &testFile) { in getPathInWatched()
75 path::append(pathBuf, testFile); in getPathInWatched()
79 void addFile(const std::string &testFile) { in addFile()
80 Expected<file_t> ft = openNativeFileForWrite(getPathInWatched(testFile), in addFile()
86 llvm::errs() << getPathInWatched(testFile) << "\n"; in addFile()
91 void deleteFile(const std::string &testFile) { in deleteFile()
93 remove(getPathInWatched(testFile), /*IgnoreNonExisting=*/false); in deleteFile()
/llvm-project/lldb/test/API/
H A Dlldbtest.py45 testPath, testFile = os.path.split(test.getSourcePath())
51 isLuaTest = testFile == test.config.lua_test_entry
56 cmd = [executable] + self.dotest_cmd + [testPath, "-p", testFile]