OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e52ed0c
)
gd: Fix legacy storage test config file
author
Chris Manton
<cmanton@google.com>
Fri, 21 Feb 2020 00:19:54 +0000
(16:19 -0800)
committer
Chris Manton
<cmanton@google.com>
Fri, 21 Feb 2020 00:22:33 +0000
(16:22 -0800)
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
patch
|
blob
|
history
diff --git
a/gd/storage/legacy_test.cc
b/gd/storage/legacy_test.cc
index
7a76eee
..
0d0c1df
100644
(file)
--- a/
gd/storage/legacy_test.cc
+++ b/
gd/storage/legacy_test.cc
@@
-23,7
+23,12
@@
#include <base/files/file_util.h>
+#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\