Home
last modified time | relevance | path

Searched refs:cache_root (Results 1 – 2 of 2) sorted by relevance

/tools/asuite/atest/
Datest_utils.py699 def get_test_info_cache_path(test_reference, cache_root=None): argument
709 if not cache_root:
710 cache_root = get_cache_root()
711 return os.path.join(cache_root, _get_hashed_file_name(test_reference))
714 cache_root=None): argument
723 if not cache_root:
724 cache_root = get_cache_root()
725 if not os.path.isdir(cache_root):
726 os.makedirs(cache_root)
727 cache_path = get_test_info_cache_path(test_reference, cache_root)
[all …]
Datest_utils_unittest.py323 cache_root = '/a/b/c'
326 self.assertEqual(os.path.join(cache_root, expect_hashed_name),
328 cache_root))