diff options
author | Tao Bao <tbao@google.com> | 2018-06-06 08:14:18 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-06-06 08:14:18 +0200 |
commit | 878d5a77f0bce2a5c1c6b8d421556aaa42889243 (patch) | |
tree | 4cd4048bcf55c08a212e3697cbb5b6e5542c367d /tests/unit/screen_ui_test.cpp | |
parent | Merge "updater_sample: Add UI docs to README" (diff) | |
parent | tests: Specify the death test style to avoid flakiness. (diff) | |
download | android_bootable_recovery-878d5a77f0bce2a5c1c6b8d421556aaa42889243.tar android_bootable_recovery-878d5a77f0bce2a5c1c6b8d421556aaa42889243.tar.gz android_bootable_recovery-878d5a77f0bce2a5c1c6b8d421556aaa42889243.tar.bz2 android_bootable_recovery-878d5a77f0bce2a5c1c6b8d421556aaa42889243.tar.lz android_bootable_recovery-878d5a77f0bce2a5c1c6b8d421556aaa42889243.tar.xz android_bootable_recovery-878d5a77f0bce2a5c1c6b8d421556aaa42889243.tar.zst android_bootable_recovery-878d5a77f0bce2a5c1c6b8d421556aaa42889243.zip |
Diffstat (limited to 'tests/unit/screen_ui_test.cpp')
-rw-r--r-- | tests/unit/screen_ui_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/screen_ui_test.cpp b/tests/unit/screen_ui_test.cpp index 25623074c..2179b729f 100644 --- a/tests/unit/screen_ui_test.cpp +++ b/tests/unit/screen_ui_test.cpp @@ -408,5 +408,7 @@ TEST_F(ScreenRecoveryUITest, LoadAnimation_MissingAnimation) { ASSERT_TRUE(ui_->Init(kTestLocale)); TemporaryDir resource_dir; Paths::Get().set_resource_dir(resource_dir.path); + + ::testing::FLAGS_gtest_death_test_style = "threadsafe"; ASSERT_EXIT(ui_->RunLoadAnimation(), ::testing::KilledBySignal(SIGABRT), ""); } |