Home
last modified time | relevance | path

Searched refs:test_dir (Results 1 – 25 of 52) sorted by relevance

123

/third_party/jerryscript/tools/runners/
Drun-test-suite-test262.py50 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, 'test', 'suite', 'bestPractice')
92 path_to_remove = os.path.join(args.test_dir, 'test', 'suite', 'intl402')
109 [os.path.join(args.test_dir, 'tools/packaging/test262.py'),
[all …]
Drun-test-suite.py58 def get_tests(test_dir, test_list, skip_list, skip_file): argument
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/musl/libc-test/src/functionalext/unittest/
DBUILD.gn25 "//${test_dir}/src/common",
26 "//${test_dir}/src/functionalext/common",
56 "//${test_dir}/src/common",
57 "//${test_dir}/src/functionalext/common",
84 "//${test_dir}/src/common",
85 "//${test_dir}/src/functionalext/common",
89 "//${test_dir}/src/functionalext/unittest",
112 "//${test_dir}/src/common",
113 "//${test_dir}/src/functionalext/common",
144 "//${test_dir}/src/functionalext/common",
[all …]
/third_party/protobuf/
Dbuild_files_updated_unittest.sh51 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/
Drun_one.py38 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:
Dworkbench.py60 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/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_regression_test.sh66 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/ltp/testcases/kernel/controllers/memcg/control/
Dmemcg_control_test.sh26 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/python/Lib/test/test_importlib/
Dtest_pkg_import.py27 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/musl/libc-test/
Dtest_template.gni5 test_dir = "${musl_base_dir}/libc-test"
59 "//${test_dir}/src/common",
61 "//${test_dir}/src/functionalext/common",
103 "//${test_dir}/src/math/crlibm",
104 "//${test_dir}/src/math/gen",
105 "//${test_dir}/src/math/sanity",
106 "//${test_dir}/src/math/special",
107 "//${test_dir}/src/math/ucb",
111 include_dirs += [ "//${test_dir}/src/math/ld128" ]
194 include_dirs += [ "//${test_dir}/src/functionalext/common" ]
[all …]
/third_party/ltp/testcases/kernel/syscalls/readdir/
Dreaddir01.c45 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/mount/
Dmount03.c106 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/syscalls/mkdirat/
Dmkdirat02.c23 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/controllers/memcg/functional/
Dmemcg_lib.sh86 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/
Dtest-subr.sh26 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/
Dchmod01.c22 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/
Dsupport.py14 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/ltp/lib/
Dtst_cgroup.c73 struct cgroup_dir test_dir; member
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.dir_fd); in close_path_fds()
990 if (!root->test_dir.dir_name) in tst_cg_cleanup()
994 root->test_dir.dir_fd, root->drain_dir.dir_fd); in tst_cg_cleanup()
[all …]
/third_party/libsnd/programs/
Dtest-sndfile-metadata-set.py153 test_dir = "programs" variable
157 if os.path.isdir (test_dir):
158 os.chdir (test_dir)
/third_party/skia/third_party/externals/zlib/google/
Dzip_unittest.cc59 base::FilePath test_dir(FILE_PATH_LITERAL("/test")); in VirtualFileSystem() local
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/node/deps/v8/tools/testrunner/local/
Dtestsuite_test.py25 test_dir = os.path.dirname(__file__)
26 self.test_root = os.path.join(test_dir, "fake_testsuite")
/third_party/skia/third_party/externals/tint/tools/
Drun_tests.py219 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/skia/third_party/externals/brotli/python/tests/
D_test_utils.py14 test_dir = os.path.join(project_dir, 'tests') variable
35 TESTDATA_DIR = os.path.join(test_dir, 'testdata')
/third_party/python/Lib/test/
Dtest_readline.py273 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/lz4/tests/
Dtest-lz4-abi.py69 test_dir = base_dir + '/tests' variable
116 os.chdir(test_dir)

123