Home
last modified time | relevance | path

Searched refs:TEST_DIR (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mindspore/mindspore/lite/test/
DCMakeLists.txt2 set(TEST_DIR ${TOP_DIR}/mindspore/lite/test) variable
6 include_directories(${TEST_DIR})
16 ${TEST_DIR}/main.cc
17 ${TEST_DIR}/common/common_test.cc
18 ${TEST_DIR}/ut/src/infer_test.cc
19 ${TEST_DIR}/ut/src/utils_test.cc
20 ${TEST_DIR}/ut/src/scheduler_test.cc
21 ${TEST_DIR}/ut/src/registry/registry_test.cc
22 ${TEST_DIR}/ut/src/registry/registry_custom_op_test.cc
23 ${TEST_DIR}/ut/src/runtime/runtime_pass_tests.cc
[all …]
/third_party/boost/libs/graph/example/
DJamfile.v210 path-constant TEST_DIR : . ;
12 run accum-compile-times.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-nam…
29 run boost_web_graph.cpp : $(TEST_DIR)/boost_web.dat ;
47 run cycle-file-dep.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.da…
48 run cycle-file-dep2.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.d…
51 run default-constructor.cpp : $(TEST_DIR)/makefile-dependencies.dat ;
52 run default-constructor2.cpp : $(TEST_DIR)/makefile-dependencies.dat ;
64 run edge_iterator_constructor.cpp : $(TEST_DIR)/edge_iterator_constructor.dat ;
66 run edge-function.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-names.dat…
67 run edge-iter-constructor.cpp : $(TEST_DIR)/makefile-dependencies.dat ;
[all …]
/third_party/ltp/testcases/kernel/syscalls/renameat2/
Drenameat202.c31 #define TEST_DIR "test_dir/" macro
90 SAFE_MKDIR(cleanup, TEST_DIR, 0700); in setup()
93 SAFE_TOUCH(cleanup, TEST_DIR TEST_FILE, 0600, NULL); in setup()
96 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup()
99 SAFE_FILE_PRINTF(cleanup, TEST_DIR TEST_FILE, "%s", content); in setup()
138 emptyfile = TEST_DIR TEST_FILE; in renameat2_verify()
142 contentfile = TEST_DIR TEST_FILE; in renameat2_verify()
Drenameat201.c42 #define TEST_DIR "test_dir/" macro
112 SAFE_MKDIR(cleanup, TEST_DIR, 0700); in setup()
115 SAFE_TOUCH(cleanup, TEST_DIR TEST_FILE, 0600, NULL); in setup()
117 SAFE_TOUCH(cleanup, TEST_DIR TEST_FILE3, 0600, NULL); in setup()
119 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup()
/third_party/jsoncpp/src/jsontestrunner/
DCMakeLists.txt29 set(TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../test) variable
30 set(RUNJSONTESTS_PATH ${TEST_DIR}/runjsontests.py)
35 …{PYTHON_EXECUTABLE}" -B "${RUNJSONTESTS_PATH}" $<TARGET_FILE:jsontestrunner_exe> "${TEST_DIR}/data"
42 …{PYTHON_EXECUTABLE}" -B "${RUNJSONTESTS_PATH}" $<TARGET_FILE:jsontestrunner_exe> "${TEST_DIR}/data"
43 WORKING_DIRECTORY "${TEST_DIR}/data"
46 …-B "${RUNJSONTESTS_PATH}" --with-json-checker $<TARGET_FILE:jsontestrunner_exe> "${TEST_DIR}/data"
47 WORKING_DIRECTORY "${TEST_DIR}/data"
/third_party/ltp/testcases/kernel/fs/mongo/
Dtest.sh25 TEST_DIR=testdir
61 mkdir -p $TEST_DIR
62 …gfile1 file_size=10000 bytes=100000 fstype=reiserfs dev=/dev/loop0 dir=$TEST_DIR RUN log=$LOG_DI…
77 mkdir -p $TEST_DIR
80 ./mongo.pl LOG=/tmp/logfile1 file_size=10000 bytes=100000 fstype=jfs dev=/dev/loop0 dir=$TEST_DIR
109 rm -rf $TEST_DIR
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify15.c42 #define TEST_DIR MOUNT_POINT"/test_dir" macro
43 #define DIR1 TEST_DIR"/dir1"
44 #define DIR2 TEST_DIR"/dir2"
45 #define FILE1 TEST_DIR"/file1"
46 #define FILE2 TEST_DIR"/file2"
91 AT_FDCWD, TEST_DIR); in do_test()
94 fanotify_save_fid(TEST_DIR, &root_fid); in do_test()
184 AT_FDCWD, TEST_DIR); in do_test()
274 SAFE_MKDIR(TEST_DIR, 0755); in do_setup()
275 REQUIRE_FANOTIFY_INIT_FLAGS_SUPPORTED_ON_FS(FAN_REPORT_FID, TEST_DIR); in do_setup()
/third_party/ltp/testcases/kernel/syscalls/openat/
Dopenat01.c51 #define TEST_DIR "test_dir/" macro
65 {&fd_atcwd, TEST_DIR TEST_FILE, 0, 0}
123 SAFE_MKDIR(cleanup, TEST_DIR, 0700); in setup()
124 dir_fd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup()
125 fd = SAFE_OPEN(cleanup, TEST_DIR TEST_FILE, O_CREAT | O_RDWR, 0600); in setup()
128 snprintf(glob_path, sizeof(glob_path), "%s/" TEST_DIR TEST_FILE, in setup()
/third_party/ltp/testcases/kernel/syscalls/lstat/
Dlstat02.c35 #define TEST_DIR "test_dir" macro
40 #define TEST_EACCES TEST_DIR"/test_eacces"
94 SAFE_MKDIR(TEST_DIR, MODE_RWX); in setup()
97 SAFE_CHMOD(TEST_DIR, MODE_RW0); in setup()
112 SAFE_CHMOD(TEST_DIR, MODE_RWX); in cleanup()
/third_party/python/Lib/test/
Dtest_modulefinder.py13 TEST_DIR = tempfile.mkdtemp() variable
14 TEST_PATH = [TEST_DIR, os.path.dirname(tempfile.__file__)]
316 ofi = open_file(os.path.join(TEST_DIR, line.strip()))
350 shutil.rmtree(TEST_DIR)
383 base_path = os.path.join(TEST_DIR, 'a')
393 old_path = os.path.join(TEST_DIR, 'a', 'module.py')
394 new_path = os.path.join(TEST_DIR, 'a', 'spam.py')
/third_party/ltp/testcases/kernel/syscalls/readdir/
Dreaddir21.c23 #define TEST_DIR "test_dir" macro
51 SAFE_MKDIR(TEST_DIR, DIR_MODE); in setup()
52 del_dir_fd = SAFE_OPEN(TEST_DIR, O_RDONLY | O_DIRECTORY); in setup()
53 SAFE_RMDIR(TEST_DIR); in setup()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl38.c17 #define TEST_DIR "test_dir" macro
58 subdir_fd = SAFE_OPEN(TEST_DIR, O_RDONLY); in verify_dnotify()
64 SAFE_CHMOD(TEST_DIR, 0755); in verify_dnotify()
79 SAFE_MKDIR(TEST_DIR, 00700); in setup()
/third_party/ltp/testcases/kernel/syscalls/getdents/
Dgetdents02.c28 #define TEST_DIR "test_dir" macro
66 SAFE_MKDIR(TEST_DIR, DIR_MODE); in setup()
67 fd_unlinked = SAFE_OPEN(TEST_DIR, O_DIRECTORY); in setup()
68 SAFE_RMDIR(TEST_DIR); in setup()
/third_party/ltp/testcases/kernel/syscalls/fchdir/
Dfchdir01.c14 static const char *TEST_DIR = "alpha"; variable
25 SAFE_MKDIR(TEST_DIR, MODES); in setup()
26 fd = SAFE_OPEN(TEST_DIR, O_RDONLY); in setup()
/third_party/ltp/testcases/kernel/syscalls/inotify/
Dinotify10.c43 #define TEST_DIR "test_dir" macro
99 wd_subdir = SAFE_MYINOTIFY_ADD_WATCH(fd_notify, TEST_DIR, tc->subdir_mask); in verify_inotify()
109 SAFE_MYINOTIFY_ADD_WATCH(fd_notify_other, TEST_DIR, tc->subdir_mask_other); in verify_inotify()
117 SAFE_CHMOD(TEST_DIR, 0755); in verify_inotify()
123 strcpy(event_set[test_cnt].name, TEST_DIR); in verify_inotify()
193 SAFE_MKDIR(TEST_DIR, 00700); in setup()
Dinotify04.c44 #define TEST_DIR "test_dir" macro
84 SAFE_MKDIR(TEST_DIR, 00700); in verify_inotify()
87 wd_dir = SAFE_MYINOTIFY_ADD_WATCH(fd_notify, TEST_DIR, IN_ALL_EVENTS); in verify_inotify()
93 SAFE_RMDIR(TEST_DIR); in verify_inotify()
/third_party/ltp/testcases/kernel/syscalls/open_by_handle_at/
Dopen_by_handle_at01.c22 #define TEST_DIR "test_dir" macro
54 SAFE_MKDIR(TEST_DIR, 0700); in setup()
55 dir_fd = SAFE_OPEN(TEST_DIR, O_DIRECTORY); in setup()
56 SAFE_CHDIR(TEST_DIR); in setup()
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen01.c28 #define TEST_DIR "testdir" macro
40 {TEST_DIR, O_DIRECTORY, 0, S_IFDIR, "sirectory bit"}
68 SAFE_MKDIR(TEST_DIR, 0755); in setup()
/third_party/ltp/testcases/kernel/syscalls/mkdirat/
Dmkdirat02.c17 #define TEST_DIR "mntpoint/test_dir" macro
30 {&dir_fd, TEST_DIR, EROFS},
31 {&cur_fd, TEST_DIR, EROFS},
/third_party/ltp/testcases/kernel/syscalls/name_to_handle_at/
Dname_to_handle_at01.c22 #define TEST_DIR "test_dir" macro
71 SAFE_MKDIR(TEST_DIR, 0700); in setup()
72 dir_fd = SAFE_OPEN(TEST_DIR, O_DIRECTORY); in setup()
73 SAFE_CHDIR(TEST_DIR); in setup()
/third_party/ltp/testcases/kernel/syscalls/readv/
Dreadv02.c32 const char *TEST_DIR = "test_dir"; variable
86 SAFE_MKDIR(TEST_DIR, MODES); in setup()
87 fd_dir = SAFE_OPEN(TEST_DIR, O_RDONLY); in setup()
/third_party/ltp/testcases/kernel/syscalls/finit_module/
Dfinit_module02.c23 #define TEST_DIR "test_dir" macro
89 SAFE_MKDIR(TEST_DIR, 0700); in setup()
90 fd_dir = SAFE_OPEN(TEST_DIR, O_DIRECTORY); in setup()
/third_party/ltp/testcases/kernel/syscalls/openat2/
Dopenat201.c11 #define TEST_DIR "test_dir" macro
56 SAFE_MKDIR(TEST_DIR, 0700); in setup()
57 dir_fd = SAFE_OPEN(TEST_DIR, O_DIRECTORY); in setup()
/third_party/boost/libs/variant/perf/
DJamfile.v212 path-constant TEST_DIR : . ;
28 run move_perf.cpp : $(TEST_DIR) ;
/third_party/boost/libs/lexical_cast/perf/
DJamfile.v212 path-constant TEST_DIR : . ;
28 run performance_test.cpp : $(TEST_DIR) ;

12