Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01f35e88 authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge "Remove pstore case ibc.__pstore_append from CTS" am: bb7e8123

am: 4a533ebf

Change-Id: Id0f0e920032ddb1474fb76289713c8b5a6e7b7f2
parents c396a7e7 4a533ebf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@

TEST(libc, __pstore_append) {
#ifdef __ANDROID__
#ifndef NO_PSTORE
  FILE* fp;
  ASSERT_TRUE(NULL != (fp = fopen("/dev/pmsg0", "a")));
  static const char message[] = "libc.__pstore_append\n";
@@ -43,6 +44,9 @@ TEST(libc, __pstore_append) {
            "Reboot, ensure string libc.__pstore_append is in "
            "/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
  GTEST_LOG_(INFO) << "This test does nothing.\n";
#endif