Skip to content
Snippets Groups Projects
Commit d1bb7162 authored by chenhg's avatar chenhg Committed by Tom Cherry
Browse files

Remove pstore case ibc.__pstore_append from CTS

Bug: 110118705
Bug: 110761200
Test: partners verified
Change-Id: I946c645af0cfb3f3b0e9344c51940da226fd08ce
parent 93d837f3
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
TEST(libc, __pstore_append) { TEST(libc, __pstore_append) {
#ifdef __ANDROID__ #ifdef __ANDROID__
#ifndef NO_PSTORE
FILE* fp; FILE* fp;
ASSERT_TRUE(NULL != (fp = fopen("/dev/pmsg0", "a"))); ASSERT_TRUE(NULL != (fp = fopen("/dev/pmsg0", "a")));
static const char message[] = "libc.__pstore_append\n"; static const char message[] = "libc.__pstore_append\n";
...@@ -43,6 +44,9 @@ TEST(libc, __pstore_append) { ...@@ -43,6 +44,9 @@ TEST(libc, __pstore_append) {
"Reboot, ensure string libc.__pstore_append is in " "Reboot, ensure string libc.__pstore_append is in "
"/sys/fs/pstore/pmsg-ramoops-0\n"); "/sys/fs/pstore/pmsg-ramoops-0\n");
} }
#else /* NO_PSTORE */
GTEST_LOG_(INFO) << "This test does nothing because of NO_PSTORE.\n";
#endif /* NO_PSTORE */
#else #else
GTEST_LOG_(INFO) << "This test does nothing.\n"; GTEST_LOG_(INFO) << "This test does nothing.\n";
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment