Home
last modified time | relevance | path

Searched refs:test_mapping (Results 1 – 25 of 38) sorted by relevance

12

/aosp_15_r20/development/scripts/
H A Dupdate_crate_tests.py317 test_mapping = self.tests_dirs_to_mapping(tests, dirs)
318 self.write_test_mapping(test_mapping)
322 test_mapping = {"imports": []}
329 test_mapping[test_group] = []
345 test_mapping[test_group].append({"name": test, "options": TEST_OPTIONS[test]})
347 test_mapping[test_group].append({"name": test})
348 test_mapping[test_group] = sorted(test_mapping[test_group], key=lambda t: t["name"])
351 test_mapping["imports"].append({"path": dir})
352 test_mapping["imports"] = sorted(test_mapping["imports"], key=lambda t: t["path"])
353 test_mapping = {section: entry for (section, entry) in test_mapping.items() if entry}
[all …]
/aosp_15_r20/frameworks/base/ravenwood/scripts/
H A Dupdate-test-mapping.sh37 local test_mapping="$script_dir/../TEST_MAPPING"
40 local header="$(sed -ne '1,/AUTO-GENERATED-START/p' "$test_mapping")"
41 local footer="$(sed -ne '/AUTO-GENERATED-END/,$p' "$test_mapping")"
56 cp "$test_mapping" "$test_mapping_bak"
58 echo "Updating $test_mapping"
84 } >"$test_mapping"
86 if cmp "$test_mapping_bak" "$test_mapping" ; then
90 echo "Updated $test_mapping"
93 diff -u "$test_mapping_bak" "$test_mapping" || true
/aosp_15_r20/tools/asuite/atest/
H A Dtest_mapping_unittest.py23 from atest import test_mapping
32 detail = test_mapping.TestDetail(uc.TEST_MAPPING_TEST)
39 detail = test_mapping.TestDetail(uc.TEST_MAPPING_TEST_WITH_OPTION)
46 test_mapping.TestDetail(uc.TEST_MAPPING_TEST_WITH_BAD_OPTION)
54 test_mapping.TestDetail(uc.TEST_MAPPING_TEST_WITH_BAD_HOST_VALUE)
75 test_mapping.is_match_file_patterns(test_mapping_file, test_detail)
79 test_mapping.is_match_file_patterns(test_mapping_file, test_detail)
83 test_mapping.is_match_file_patterns(test_mapping_file, test_detail)
91 test_mapping.is_match_file_patterns(test_mapping_file, test_detail)
H A Dcli_translator_unittest.py34 from atest import test_mapping
47 TEST_1 = test_mapping.TestDetail({'name': 'test1', 'host': True})
48 TEST_2 = test_mapping.TestDetail({'name': 'test2'})
49 TEST_3 = test_mapping.TestDetail({'name': 'test3'})
50 TEST_4 = test_mapping.TestDetail({'name': 'test4'})
51 TEST_5 = test_mapping.TestDetail({'name': 'test5'})
52 TEST_6 = test_mapping.TestDetail({'name': 'test6'})
53 TEST_7 = test_mapping.TestDetail({'name': 'test7'})
54 TEST_8 = test_mapping.TestDetail({'name': 'test8'})
55 TEST_9 = test_mapping.TestDetail({'name': 'test9'})
[all …]
H A Dcli_translator.py40 from atest import test_mapping
145 self, test: str, tm_test_detail: test_mapping.TestDetail
497 imports.append(test_mapping.Import(test_mapping_file, import_detail))
504 and not test_mapping.is_match_file_patterns(
535 tests.append(test_mapping.TestDetail(test))
761 if not any((args.tests, args.test_mapping)):
786 test_mapping.TestDetail({'name': test, 'host': True})
/aosp_15_r20/platform_testing/scripts/map_tests/
H A Dmap_tests.py62 test_mapping = json.loads("".join(f.readlines())) variable
64 test_mapping = {} variable
98 if "presubmit" not in test_mapping: test_mapping["presubmit"] = []
100 already_there = any(i["name"] == name for i in test_mapping["presubmit"])
103 test_mapping["presubmit"] += [{ "name": name }]
105 out = json.dumps(test_mapping, indent=2)
/aosp_15_r20/build/make/ci/
H A Dtest_mapping_module_retriever.py107 test_mapping = json.loads(content)
108 test_mappings[path] = test_mapping
111 for import_detail in test_mapping.get(KEY_IMPORTS, []):
157 for test_mapping in test_mappings.values():
158 for group_name, group in test_mapping.items():
/aosp_15_r20/build/make/core/tasks/
H A Dtest_mapping.mk19 .PHONY: test_mapping
21 intermediates := $(call intermediates-dir-for,PACKAGING,test_mapping)
36 test_mapping : $(test_mappings_zip)
38 $(call dist-for-goals, dist_files test_mapping,$(test_mappings_zip))
/aosp_15_r20/development/tools/external_crates/test_mapping/src/
H A Dlib.rs87 if self.json.is_empty() && self.test_mapping().abs().exists() { in write()
88 remove_file(self.test_mapping())?; in write()
92 write(self.test_mapping(), contents)?; in write()
149 fn test_mapping(&self) -> RootedPath { in test_mapping() method
/aosp_15_r20/development/tools/external_crates/crate_tool/
H A DCargo.toml35 test_mapping = { path = "../test_mapping" } qkey
/aosp_15_r20/external/python/jinja/src/jinja2/
Dtests.py113 def test_mapping(value): function
188 "mapping": test_mapping,
/aosp_15_r20/external/selinux/secilc/test/
H A Dpolicy.cil317 (macro test_mapping ((classpermission cps))
320 (call test_mapping ((file (read))))
321 (call test_mapping ((files (read))))
322 (call test_mapping (char_w))
/aosp_15_r20/frameworks/av/media/libmedia/
H A DTEST_MAPPING1 // test_mapping for frameworks/av/media/libmedia
/aosp_15_r20/development/tools/external_crates/
H A DCargo.toml9 "test_mapping",
/aosp_15_r20/development/tools/external_crates/test_mapping/
H A DCargo.toml2 name = "test_mapping" package
/aosp_15_r20/development/tools/external_crates/crate_tool/src/
H A Dmanaged_repo.rs362 let test_mapping = src_dir.join("TEST_MAPPING")?; in migrate() localVariable
363 if test_mapping.abs().exists() { in migrate()
364 remove_file(test_mapping)?; in migrate()
H A Dmanaged_crate.rs32 use test_mapping::TestMapping;
/aosp_15_r20/external/pytorch/test/distributed/checkpoint/
H A Dtest_nested_dict.py39 def test_mapping(self) -> None: member in TestFlattening
/aosp_15_r20/tools/asuite/asuite_plugin/
H A DREADME.md27 * Or fill target path with check test_mapping checkbox, E.g.
/aosp_15_r20/external/fonttools/Tests/misc/
H A Dplistlib_test.py527 test_mapping = CustomMapping()
528 data = plistlib.dumps(test_mapping)
/aosp_15_r20/external/minigbm/cros_gralloc/gralloc0/tests/
H A Dgralloctest.c443 static int test_mapping(struct gralloctest_context *ctx) in test_mapping() function
661 { "mapping", test_mapping, 1 },
/aosp_15_r20/frameworks/base/packages/SystemUI/
H A DTEST_MAPPING21 // v2/android-virtual-infra/test_mapping/presubmit-avd
/aosp_15_r20/external/rust/android-crates-io/crates/serde_yaml/tests/
Dtest_serde.rs535 fn test_mapping() { in test_mapping() function
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_locale.py254 def test_mapping(self): member in TestLocaleFormatString
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_locale.py259 def test_mapping(self): member in TestLocaleFormatString

12