Home
last modified time | relevance | path

Searched refs:testdata_dir (Results 1 – 8 of 8) 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/test/
Dtools_test.py98 binary_finder = BinaryFinder(TestHelper.testdata_dir, ReadElf(TestHelper.ndk_path))
178 binary_finder = BinaryFinder(TestHelper.testdata_dir, ReadElf(TestHelper.ndk_path))
223 path = os.path.join(TestHelper.testdata_dir, dso_path)
241 return os.path.join(TestHelper.testdata_dir, path.replace('/', os.sep))
280 binary_cache_builder.copy_binaries_from_symfs_dirs([TestHelper.testdata_dir])
Dtest_utils.py41 cls, test_dir: str, testdata_dir: str, use_browser: bool, ndk_path: Optional[str],
52 cls.testdata_dir = Path(testdata_dir).resolve()
80 return str(cls.testdata_dir / testdata_name)
Dreport_html_test.py109 binary_cache_builder.build_binary_cache(testdata_file, [TestHelper.testdata_dir])
112 source_dir = TestHelper.testdata_dir
149 binary_cache_builder.build_binary_cache(testdata_file, [TestHelper.testdata_dir])
Ddo_test.py130 def build_testdata(testdata_dir: Path):
137 testdata_dir.mkdir()
154 dest_path = testdata_dir / src_path.name
180 TestHelper.init(args.test_dir, args.testdata_dir,
385 testdata_dir = Path('testdata').resolve()
386 test_options += ['--testdata-dir', str(testdata_dir)]
Ddebug_unwind_reporter_test.py24 report_file = TestHelper.testdata_dir / 'debug_unwind_report.txt'
Dbinary_cache_builder_test.py95 symfs_dir = TestHelper.testdata_dir
Dpprof_proto_generator_test.py121 binary_cache_builder.build_binary_cache(testdata_file, [TestHelper.testdata_dir])