/third_party/jerryscript/tools/runners/ |
H A D | run-test-suite-test262.py | 50 args.test_dir = os.path.join(args.test_dir, 'es2015') 52 args.test_dir = os.path.join(args.test_dir, 'es51') 58 if os.path.isdir(os.path.join(args.test_dir, '.git')): 62 'https://gitee.com/Han00000000/test262.git', args.test_dir]) 72 return_code = subprocess.call(['git', 'checkout', git_hash], cwd=args.test_dir) 79 os.path.join(args.test_dir, 'excludelist.xml')) 82 cwd=args.test_dir) 88 path_to_remove = os.path.join(args.test_dir, 'tes [all...] |
H A D | run-test-suite.py | 58 def get_tests(test_dir, test_list, skip_list, skip_file): 60 if test_dir: 62 for root, _, files in os.walk(test_dir): 105 tests = get_tests(args.test_dir, args.test_list, args.skip_list, args.skip_file) 129 if args.test_dir: 130 summary_list.append(os.path.relpath(args.test_dir))
|
/third_party/protobuf/ |
H A D | build_files_updated_unittest.sh | 51 test_dir="${test_root}/test" 52 cp -R "${golden_dir}" "${test_dir}" 54 cp "update_file_lists.sh" "${test_dir}/update_file_lists.sh" 55 chmod +x "${test_dir}/update_file_lists.sh" 57 bash "${test_dir}/update_file_lists.sh" 61 diff "${golden_dir}/${file}" "${test_dir}/${file}"
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/tools/ |
H A D | run_one.py | 38 test_dir = os.path.join(TEST_CASES, 'dir-%d' % dir_number) variable 39 assert os.path.exists(test_dir) 65 for f in os.listdir(test_dir): 69 yield (os.path.join(test_dir, f), os.path.join(test_dir, ff)) 94 with open(os.path.join(test_dir, 'failures.json'), 'w') as f: 104 with open(os.path.join(test_dir, 'stats.json'), 'w') as f:
|
H A D | workbench.py | 60 test_dir = os.path.join(TEST_CASES, 'dir-%d' % n) 61 with open(os.path.join(test_dir, 'stats.json')) as f: 63 with open(os.path.join(test_dir, 'failures.json')) as f:
|
/third_party/python/Lib/test/ |
H A D | test_modulefinder.py | 23 # Each package will be created in test_dir, and test_dir will be 25 # Modulefinder searches in a path that contains test_dir, plus 300 def create_package(test_dir, source): 313 ofi = open_file(os.path.join(test_dir, line.strip())) 320 self.test_dir = tempfile.mkdtemp() 321 self.test_path = [self.test_dir, os.path.dirname(tempfile.__file__)] 324 shutil.rmtree(self.test_dir) 328 create_package(self.test_dir, source) 384 base_path = os.path.join(self.test_dir, ' [all...] |
H A D | test_readline.py | 273 with temp_dir() as test_dir: 274 inputrc = os.path.join(test_dir, "inputrc") 278 history_file = os.path.join(test_dir, "history")
|
/third_party/ltp/testcases/kernel/controllers/memcg/control/ |
H A D | memcg_control_test.sh | 26 ROD echo $! \> "$test_dir/$task_list" 49 ROD echo "$ACTIVE_MEM_LIMIT" \> "$test_dir/$memory_limit" 52 if [ -e "$test_dir/$memsw_memory_limit" ]; then 53 ROD echo "$TOT_MEM_LIMIT" \> "$test_dir/$memsw_memory_limit" 70 test_dir=$(cgroup_get_test_path "memory")
|
/third_party/ltp/testcases/kernel/controllers/memcg/regression/ |
H A D | memcg_regression_test.sh | 66 test_dir=$(cgroup_get_test_path "memory") 74 [ "$cgroup_version" = "2" ] && ROD echo "+memory" \> "$test_dir/cgroup.subtree_control" 81 cleanup_testpath "$test_dir/0" 107 test_path="$test_dir/0" 141 test_path="$test_dir/0" 195 test_path="$test_dir/0" 222 test_path="$test_dir/0"
|
/third_party/python/Lib/test/test_importlib/ |
H A D | test_pkg_import.py | 27 self.test_dir = tempfile.mkdtemp() 28 sys.path.append(self.test_dir) 29 self.package_dir = os.path.join(self.test_dir, 36 shutil.rmtree(self.test_dir) 37 self.assertNotEqual(sys.path.count(self.test_dir), 0) 38 sys.path.remove(self.test_dir)
|
/third_party/ltp/testcases/kernel/syscalls/readdir/ |
H A D | readdir01.c | 45 DIR *test_dir; in verify_readdir() local 48 test_dir = SAFE_OPENDIR("."); in verify_readdir() 49 while ((ent = SAFE_READDIR(test_dir))) { in verify_readdir() 63 SAFE_CLOSEDIR(test_dir); in verify_readdir()
|
/third_party/ltp/testcases/kernel/syscalls/mkdirat/ |
H A D | mkdirat02.c | 17 #define TEST_DIR "mntpoint/test_dir" 23 static char test_dir[PATH_MAX] = "."; variable 32 {&dir_fd, test_dir, ELOOP}, 33 {&cur_fd, test_dir, ELOOP}, 50 strcat(test_dir, "/test_eloop"); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/mount/ |
H A D | mount03.c | 106 DIR *test_dir; in test_file_dir_noatime() local 119 test_dir = SAFE_OPENDIR(dir); in test_file_dir_noatime() 121 SAFE_READDIR(test_dir); in test_file_dir_noatime() 122 SAFE_CLOSEDIR(test_dir); in test_file_dir_noatime() 130 test_dir = SAFE_OPENDIR(dir); in test_file_dir_noatime() 131 SAFE_READDIR(test_dir); in test_file_dir_noatime() 132 SAFE_CLOSEDIR(test_dir); in test_file_dir_noatime()
|
/third_party/ltp/testcases/kernel/controllers/memcg/functional/ |
H A D | memcg_lib.sh | 86 test_dir=$(cgroup_get_test_path "memory") 120 if [ -e $test_dir ]; then 121 ROD find $test_dir -depth -type d -delete 376 ROD mkdir $test_dir/ltp_$$ 377 cd $test_dir/ltp_$$ 386 ROD rmdir $test_dir/ltp_$$
|
/third_party/elfutils/tests/ |
H A D | test-subr.sh | 26 test_dir="test-$$" 27 mkdir -p "$test_dir" 28 cd "$test_dir" 38 rm -f $remove_files; cd ..; rmdir $test_dir
|
/third_party/ltp/testcases/kernel/syscalls/chmod/ |
H A D | chmod01.c | 22 static char *test_dir; variable 31 {&test_dir, S_IFDIR, "verify permissions of directory"}, 76 {&test_dir, .str = TESTDIR},
|
/third_party/python/Lib/lib2to3/tests/ |
H A D | support.py | 14 test_dir = os.path.dirname(__file__) variable 15 proj_dir = os.path.normpath(os.path.join(test_dir, "..")) 16 grammar_path = os.path.join(test_dir, "..", "Grammar.txt")
|
/third_party/libsnd/programs/ |
H A D | test-sndfile-metadata-set.py | 153 test_dir = "programs" variable 157 if os.path.isdir (test_dir): 158 os.chdir (test_dir)
|
/third_party/ltp/lib/ |
H A D | tst_cgroup.c | 73 struct cgroup_dir test_dir; member 401 #define CONFIG_HEADER "ctrl_name ver we_require_it mnt_path we_mounted_it ltp_dir.we_created_it test_dir.dir_name" 428 root->test_dir.dir_name ? root->test_dir.dir_name : "NULL"); in tst_cg_print_config() 493 if (!root->test_dir.dir_name && strcmp(test_dir_name, "NULL")) { in cgroup_parse_config_line() 495 cgroup_dir_mk(&root->ltp_dir, cgroup_test_dir, &root->test_dir); in cgroup_parse_config_line() 496 root->test_dir.we_created_it = 1; in cgroup_parse_config_line() 903 cgroup_dir_mk(&root->ltp_dir, cgroup_test_dir, &root->test_dir); in tst_cg_require() 937 if (root->test_dir.dir_fd > 0) in close_path_fds() 938 SAFE_CLOSE(root->test_dir in close_path_fds() [all...] |
/third_party/skia/third_party/externals/zlib/google/ |
H A D | zip_unittest.cc | 59 base::FilePath test_dir(FILE_PATH_LITERAL("/test")); in VirtualFileSystem() 60 base::FilePath foo_txt_path = test_dir.Append(FILE_PATH_LITERAL("foo.txt")); in VirtualFileSystem() 68 base::FilePath bar_dir = test_dir.Append(FILE_PATH_LITERAL("bar")); in VirtualFileSystem() 81 file_tree_[test_dir] = std::vector<DirectoryContentEntry>{ in VirtualFileSystem() 183 base::FilePath test_dir; in TestUnzipFile() local 184 ASSERT_TRUE(GetTestDataDirectory(&test_dir)); in TestUnzipFile() 185 TestUnzipFile(test_dir.Append(filename), expect_hidden_files); in TestUnzipFile()
|
/third_party/skia/third_party/externals/tint/tools/ |
H A D | run_tests.py | 219 input_path = os.path.join(self.options.test_dir, filename) 228 for file_dir, _, filename_list in os.walk(self.options.test_dir): 240 os.path.join(self.options.test_dir, failure_filename))
|
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | testsuite_test.py | 25 test_dir = os.path.dirname(__file__) 26 self.test_root = os.path.join(test_dir, "fake_testsuite")
|
/third_party/skia/third_party/externals/brotli/python/tests/ |
H A D | _test_utils.py | 14 test_dir = os.path.join(project_dir, 'tests') variable 35 TESTDATA_DIR = os.path.join(test_dir, 'testdata')
|
/third_party/lz4/tests/ |
H A D | test-lz4-abi.py | 69 test_dir = base_dir + '/tests' 116 os.chdir(test_dir)
|
/third_party/mbedtls/tests/scripts/ |
H A D | audit-validity-dates.py | 276 test_dir = self.find_test_dir() 277 test_data_glob = os.path.join(test_dir, 'data_files/**') 342 test_dir = self.find_test_dir() 343 suites_data_folder = os.path.join(test_dir, 'suites')
|