Home
last modified time | relevance | path

Searched refs:test_path (Results 1 - 25 of 27) sorted by relevance

12

/third_party/ltp/testcases/kernel/controllers/memcg/regression/
H A Dmemcg_regression_test.sh106 local test_path
107 test_path="$test_dir/0"
109 create_testpath "$test_path"
110 ROD echo 0 \> "$test_path/$memory_limit"
112 ./memcg_test_1 "$test_path/$task_list"
114 cleanup_testpath "$test_path"
131 local test_path
141 test_path="$test_dir/0"
147 create_testpath "$test_path"
148 ROD echo $pid1 \> "$test_path"/task
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dhb-test.h190 hb_test_add_func (const char *test_path, in hb_test_add_func() argument
193 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_func()
200 hb_test_add_func_flavor (const char *test_path, in hb_test_add_func_flavor() argument
204 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_func_flavor()
211 hb_test_add_data_func (const char *test_path, in hb_test_add_data_func() argument
215 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_data_func()
222 hb_test_add_data_func_flavor (const char *test_path, in hb_test_add_data_func_flavor() argument
227 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_data_func_flavor()
235 hb_test_add_vtable (const char *test_path, in hb_test_add_vtable() argument
242 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_vtable()
262 hb_test_add_vtable_flavor(const char *test_path, const char *flavor, gsize data_size, gconstpointer test_data, hb_test_fixture_func_t data_setup, hb_test_fixture_func_t data_test, hb_test_fixture_func_t data_teardown) hb_test_add_vtable_flavor() argument
[all...]
/third_party/cJSON/tests/
H A Dparse_examples.c54 char *test_path = NULL; in do_test() local
62 test_path = (char*)malloc(sizeof(TEST_DIR_PATH) + test_name_length); in do_test()
63 TEST_ASSERT_NOT_NULL_MESSAGE(test_path, "Failed to allocate test_path buffer."); in do_test()
68 sprintf(test_path, TEST_DIR_PATH"%s", test_name); in do_test()
76 tree = parse_file(test_path); in do_test()
99 if (test_path != NULL) in do_test()
101 free(test_path); in do_test()
/third_party/skia/third_party/externals/harfbuzz/test/subset/
H A Drepack_test.py10 def __init__(self, test_path, definition):
11 self.test_path = test_path
24 os.path.dirname(self.test_path),
H A Dsubset_test_suite.py51 def __init__(self, test_path, definition):
52 self.test_path = test_path
59 test_name = os.path.splitext(os.path.basename(self.test_path))[0]
60 data_dir = os.path.join(os.path.dirname(self.test_path), "..")
79 return os.path.dirname(os.path.dirname(self.test_path))
H A Drun-repack-tests.py44 print (' test.test_path %s' % os.path.abspath (test.test_path))
/third_party/ltp/testcases/kernel/controllers/memcg/stress/
H A Dmemcg_stress_test.sh26 test_path=$(cgroup_get_test_path "memory")
29 ROD echo "+memory" \> "$test_path/cgroup.subtree_control"
72 ROD mkdir "$test_path/$i"
74 ROD echo $! \> "$test_path/$i/$task_list"
90 ROD rmdir "$test_path/$i"
/third_party/jerryscript/tools/runners/
H A Drun-test-suite.py149 test_path = os.path.relpath(test)
157 util.print_test_result(tested, total, True, passed_string, test_path)
160 util.print_test_result(tested, total, False, passed_string, test_path)
188 test_path = os.path.relpath(test)
195 util.print_test_result(tested, total, True, passed_string, test_path, True)
197 util.print_test_result(tested, total, False, 'FAIL (%d)' % (returncode), test_path, True)
214 util.print_test_result(tested, total, True, passed_string, test_path, False)
217 util.print_test_result(tested, total, False, passed_string, test_path, False)
H A Drun-unittests.py66 test_path = os.path.relpath(test)
71 util.print_test_result(tested, total, True, 'PASS', test_path)
74 util.print_test_result(tested, total, False, 'FAIL (%d)' % err.returncode, test_path)
H A Dutil.py58 def print_test_result(tested, total, is_passed, passed_string, test_path, is_snapshot_generation=None):
67 print("[%4d/%4d] %s%s: %s%s%s" % (tested, total, color, passed_string, test_path, snapshot_string, TERM_NORMAL))
/third_party/ltp/testcases/kernel/controllers/
H A Dcgroup_lib.sh35 local test_path
42 test_path="$mountpoint/ltp/test-$$"
44 [ ! -e "$test_path" ] && tst_brk TBROK "cgroup_get_test_path: No test path found. Forgot to call cgroup_require?"
46 echo "$test_path"
/third_party/skia/tests/
H A DPathRendererCacheTests.cpp74 static void test_path(skiatest::Reporter* reporter, in test_path() function
143 test_path(reporter, create_concave_path, createPR, kExpectedResources, false); in DEF_GPUTEST()
151 test_path(reporter, create_concave_path, createPR, kExpectedResources, false, GrAAType::kNone, in DEF_GPUTEST()
165 test_path(reporter, create_concave_path, createPR, kExpectedResources, true, in DEF_GPUTEST()
174 test_path(reporter, create_concave_path, createPR, kExpectedResources, true, in DEF_GPUTEST()
H A DTriangulatingPathRendererTests.cpp712 static void test_path(GrRecordingContext* rContext, in test_path() function
757 test_path(ctx, sdc.get(), createPath()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
761 test_path(ctx, sdc.get(), create_path_17(), nonInvertibleMatrix, GrAAType::kCoverage, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
763 test_path(ctx, sdc.get(), create_path_20(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
764 test_path(ctx, sdc.get(), create_path_21(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
765 test_path(ctx, sdc.get(), create_path_25(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
766 test_path(ctx, sdc.get(), create_path_26(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
767 test_path(ctx, sdc.get(), create_path_27(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
768 test_path(ctx, sdc.get(), create_path_28(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
769 test_path(ct in DEF_GPUTEST_FOR_ALL_CONTEXTS()
[all...]
H A DColorSpaceTest.cpp47 static void test_path(skiatest::Reporter* r, const char* path, in test_path() function
78 test_path(r, "images/color_wheel_with_profile.png", g_sRGB_R, g_sRGB_G, g_sRGB_B, true); in DEF_TEST()
84 test_path(r, "images/icc-v2-gbr.jpg", red, green, blue); in DEF_TEST()
86 test_path(r, "images/webp-color-profile-crash.webp", in DEF_TEST()
88 test_path(r, "images/webp-color-profile-lossless.webp", in DEF_TEST()
90 test_path(r, "images/webp-color-profile-lossy.webp", in DEF_TEST()
92 test_path(r, "images/webp-color-profile-lossy-alpha.webp", in DEF_TEST()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/
H A Dmain.rs237 let mut test_path = project_dir(); in parse_tests() variables
238 test_path.push("test-parse-unittests"); in parse_tests()
239 test_path.push(name); in parse_tests()
240 let test_data = read_to_string(test_path).unwrap(); in parse_tests()
/third_party/skia/gm/
H A Dpathreverse.cpp53 static void test_path(SkCanvas* canvas, const SkPath& path) { in test_path() function
64 test_path(canvas, path); in test_rev()
70 test_path(canvas, rev); in test_rev()
/third_party/node/deps/v8/tools/
H A Dv8_presubmit.py692 test_path = join(dirname(TOOLS_PATH), 'test')
698 for suitepath in os.listdir(test_path):
701 test_path, suitename, suitename + ".status")
707 if file_path.startswith(test_path):
709 pieces = file_path[len(test_path):].lstrip(os.sep).split(os.sep)
713 if not os.path.isdir(join(test_path, pieces[0])):
715 status_file = join(test_path, pieces[0], pieces[0] + ".status")
/third_party/libinput/src/
H A Devdev-tablet-pad-leds.c248 const char *test_path; in pad_led_get_sysfs_base_path() local
255 test_path = udev_device_get_property_value(udev_device, in pad_led_get_sysfs_base_path()
257 if (test_path) { in pad_led_get_sysfs_base_path()
258 rc = snprintf(path_out, path_out_sz, "%s", test_path); in pad_led_get_sysfs_base_path()
/third_party/python/Lib/test/
H A Dtest_modulefinder.py321 self.test_path = [self.test_dir, os.path.dirname(tempfile.__file__)]
329 mf = modulefinder_class(path=self.test_path, debug=debug,
336 ## sys.path = self.test_path
H A Dtest_imp.py68 self.test_path = mod.__path__
78 with imp.find_module('module_' + mod, self.test_path)[0] as fd:
88 self.test_path)
H A D_test_embed_set_config.py234 def test_path(self): member in SetConfigTests
/third_party/skia/third_party/externals/angle2/src/tests/
H A Dcapture_replay_tests.py247 def GetTestsListForFilter(args, test_path, filter, logger):
248 cmd = GetRunCommand(args, test_path) + ["--list-tests", "--gtest_filter=%s" % filter]
840 test_path = os.path.join(capture_build_dir, args.test_suite)
841 test_list = GetTestsListForFilter(args, test_path, args.filter, logger)
/third_party/python/Lib/
H A Ddoctest.py391 def _module_relative_path(module, test_path):
394 if test_path.startswith('/'):
398 test_path = os.path.join(*(test_path.split('/')))
413 fullpath = os.path.join(directory, test_path)
423 return os.path.join(basedir, test_path)
/third_party/python/Lib/test/test_importlib/import_/
H A Dtest_path.py39 def test_path(self): member in FinderTests
/third_party/rust/crates/serde/test_suite/tests/
H A Dtest_ser.rs564 fn test_path() { in test_path() functions

Completed in 19 milliseconds

12