From 2b54937530e7b04237299be346b2aafee776311a Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Thu, 20 Feb 2020 16:19:54 -0800 Subject: [PATCH] gd: Fix legacy storage test config file Should point to appropriate target-based location Bug: 147315979 Test: bluetooth_test_gd # x86 Test: bluetooth_test_gd # arm Change-Id: Ic021edb63d1d9b0ee7e5947c7e53e0384d34b9e2 --- gd/storage/legacy_test.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gd/storage/legacy_test.cc b/gd/storage/legacy_test.cc index 7a76eeec3..0d0c1df75 100644 --- a/gd/storage/legacy_test.cc +++ b/gd/storage/legacy_test.cc @@ -23,7 +23,12 @@ #include +#ifdef OS_ANDROID +constexpr char CONFIG_FILE[] = "/data/local/tmp/config_test.conf"; +#else constexpr char CONFIG_FILE[] = "/tmp/config_test.conf"; +#endif + constexpr char CONFIG_FILE_CONTENT[] = " \n\ first_key=value \n\ -- 2.11.0