Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dgtest_main.cpp41 static std::string testdata_dir; variable
81 testdata_dir = std::string(dirname(argv[0])) + "/testdata"; in main()
84 testdata_dir = argv[i + 1]; in main()
109 if (!IsDir(testdata_dir)) { in main()
114 if (!android::base::EndsWith(testdata_dir, OS_PATH_SEPARATOR)) { in main()
115 testdata_dir += OS_PATH_SEPARATOR; in main()
117 LOG(INFO) << "testdata is in " << testdata_dir; in main()
122 return testdata_dir + filename; in GetTestData()
126 return testdata_dir; in GetTestDataDir()
/system/extras/simpleperf/scripts/
Dtest.py106 self.testdata_dir = os.path.join(self.cur_dir, 'testdata')
116 return os.path.join(self.testdata_dir, testdata_name.replace('/', os.sep))
145 if os.path.isdir(self.testdata_dir):
147 os.makedirs(self.testdata_dir)
157 target = os.path.join(self.testdata_dir, name)
1129 binary_cache_path = TEST_HELPER.testdata_dir
1239 binary_cache_path = TEST_HELPER.testdata_dir
1318 path = os.path.join(TEST_HELPER.testdata_dir, dso_path)
1333 return os.path.join(TEST_HELPER.testdata_dir, path.replace('/', os.sep))
1790 remove(TEST_HELPER.testdata_dir)