aboutsummaryrefslogtreecommitdiff
path: root/test/mock/nexus5x.cc
diff options
context:
space:
mode:
authorMarat Dukhan <marat@fb.com>2018-12-09 01:40:27 -0800
committerMarat Dukhan <marat@fb.com>2018-12-09 01:40:27 -0800
commit112dbf9b34bd5c279e8c8415a3f5bf66e9855874 (patch)
tree554c8214470ca86dfc020b5683a85652cda39ffd /test/mock/nexus5x.cc
parentd62a0f06b22124adddeb18d8aa61386cf7719849 (diff)
downloadcpuinfo-112dbf9b34bd5c279e8c8415a3f5bf66e9855874.tar.gz
Remove detection of GPU name on mobile platforms
Diffstat (limited to 'test/mock/nexus5x.cc')
-rw-r--r--test/mock/nexus5x.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/mock/nexus5x.cc b/test/mock/nexus5x.cc
index ce6e029..70ee102 100644
--- a/test/mock/nexus5x.cc
+++ b/test/mock/nexus5x.cc
@@ -340,14 +340,6 @@ TEST(PACKAGES, name) {
}
}
-TEST(PACKAGES, gpu_name) {
- for (uint32_t i = 0; i < cpuinfo_get_packages_count(); i++) {
- ASSERT_EQ("Qualcomm Adreno 418",
- std::string(cpuinfo_get_package(i)->gpu_name,
- strnlen(cpuinfo_get_package(i)->gpu_name, CPUINFO_GPU_NAME_MAX)));
- }
-}
-
TEST(PACKAGES, processor_start) {
for (uint32_t i = 0; i < cpuinfo_get_packages_count(); i++) {
ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start);
@@ -765,7 +757,6 @@ int main(int argc, char* argv[]) {
cpuinfo_mock_filesystem(filesystem);
#ifdef __ANDROID__
cpuinfo_mock_android_properties(properties);
- cpuinfo_mock_gl_renderer("Adreno (TM) 418");
#endif
cpuinfo_initialize();
::testing::InitGoogleTest(&argc, argv);