aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarat Dukhan <marat@fb.com>2017-09-22 17:09:49 -0700
committerMarat Dukhan <marat@fb.com>2017-09-22 17:09:49 -0700
commit3c1df684a12129c7e675eb2aa1b706bf01b2d2f9 (patch)
tree3a1726502b99bfd503f3c06e241624f19d645bfe /test
parentfbc4cfcf96b0ee7fbbc0d5dba6938aae1300ef32 (diff)
downloadcpuinfo-3c1df684a12129c7e675eb2aa1b706bf01b2d2f9.tar.gz
Refactor reading of Android properties
Diffstat (limited to 'test')
-rw-r--r--test/blu-r1-hd.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/blu-r1-hd.cc b/test/blu-r1-hd.cc
index d5896f9..162b877 100644
--- a/test/blu-r1-hd.cc
+++ b/test/blu-r1-hd.cc
@@ -357,6 +357,9 @@ TEST(L4, none) {
int main(int argc, char* argv[]) {
cpuinfo_mock_filesystem(filesystem);
+#ifdef __ANDROID__
+ cpuinfo_mock_android_properties(properties);
+#endif
cpuinfo_initialize();
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();