summaryrefslogtreecommitdiffstats
path: root/liblog
diff options
context:
space:
mode:
authorchenhg2018-06-21 16:55:58 -0500
committerchenhg2018-06-21 18:04:10 -0500
commit7d8880e50c0304aa116341b6048ed1f31c05d4ff (patch)
treeb39fadfbfa2d4e3ce1c4c23616c19d5d919531bf /liblog
parentd41a1f9add9c1feb4aa8f38ad9850f39d715d8bf (diff)
downloadplatform-system-core-7d8880e50c0304aa116341b6048ed1f31c05d4ff.tar.gz
platform-system-core-7d8880e50c0304aa116341b6048ed1f31c05d4ff.tar.xz
platform-system-core-7d8880e50c0304aa116341b6048ed1f31c05d4ff.zip
Remove pstore case ibc.__pstore_append from CTS
BUG: 110118705 Change-Id: I946c645af0cfb3f3b0e9344c51940da226fd08ce
Diffstat (limited to 'liblog')
-rw-r--r--liblog/tests/libc_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/liblog/tests/libc_test.cpp b/liblog/tests/libc_test.cpp
index 329ba8585..6d78ed6db 100644
--- a/liblog/tests/libc_test.cpp
+++ b/liblog/tests/libc_test.cpp
@@ -21,6 +21,7 @@
21 21
22TEST(libc, __pstore_append) { 22TEST(libc, __pstore_append) {
23#ifdef __ANDROID__ 23#ifdef __ANDROID__
24#ifndef NO_PSTORE
24 FILE* fp; 25 FILE* fp;
25 ASSERT_TRUE(NULL != (fp = fopen("/dev/pmsg0", "a"))); 26 ASSERT_TRUE(NULL != (fp = fopen("/dev/pmsg0", "a")));
26 static const char message[] = "libc.__pstore_append\n"; 27 static const char message[] = "libc.__pstore_append\n";
@@ -43,6 +44,9 @@ TEST(libc, __pstore_append) {
43 "Reboot, ensure string libc.__pstore_append is in " 44 "Reboot, ensure string libc.__pstore_append is in "
44 "/sys/fs/pstore/pmsg-ramoops-0\n"); 45 "/sys/fs/pstore/pmsg-ramoops-0\n");
45 } 46 }
47#else /* NO_PSTORE */
48 GTEST_LOG_(INFO) << "This test does nothing because of NO_PSTORE.\n";
49#endif /* NO_PSTORE */
46#else 50#else
47 GTEST_LOG_(INFO) << "This test does nothing.\n"; 51 GTEST_LOG_(INFO) << "This test does nothing.\n";
48#endif 52#endif