Lines Matching refs:cache_root
798 def get_test_info_cache_path(test_reference, cache_root=None): argument
808 if not cache_root:
809 cache_root = get_cache_root()
810 return os.path.join(cache_root, _get_hashed_file_name(test_reference))
813 def update_test_info_cache(test_reference, test_infos, cache_root=None): argument
823 if not cache_root:
824 cache_root = get_cache_root()
825 if not os.path.isdir(cache_root):
826 os.makedirs(cache_root)
827 cache_path = get_test_info_cache_path(test_reference, cache_root)
840 def load_test_info_cache(test_reference, cache_root=None): argument
850 if not cache_root:
851 cache_root = get_cache_root()
853 cache_file = get_test_info_cache_path(test_reference, cache_root)
877 def clean_test_info_caches(tests, cache_root=None): argument
884 if not cache_root:
885 cache_root = get_cache_root()
887 cache_file = get_test_info_cache_path(test, cache_root)