diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2019-03-05 19:54:27 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-03-05 19:54:27 +0000 |
commit | 7869e9bda6687ece24b66c1ae435f7ae5f40fec8 (patch) | |
tree | 385f01defeedd91e51b9afc4fcbd9ac008530ab9 | |
parent | f11c60fc96b21010532bffe69d94cce5066fdd10 (diff) | |
parent | 35d29d7cac38535808437d7be0ae6b606343b28d (diff) | |
download | bionic-7869e9bda6687ece24b66c1ae435f7ae5f40fec8.tar.gz |
Merge "Disable some tests that were weakened in the future." into pie-cts-dev
-rw-r--r-- | tests/signal_test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/signal_test.cpp b/tests/signal_test.cpp index b37d06f34..964ff3167 100644 --- a/tests/signal_test.cpp +++ b/tests/signal_test.cpp @@ -388,6 +388,10 @@ static void TestSignalMaskFunction(std::function<void()> fn, SignalMaskFunctionT TestSignalMaskFiltered(GetSignalMask(), fn_type); } +// Turn off these tests in pie, so that we don't break people that cherry-picked the following +// patch which fixes some behavior while weakening the test: +// https://android-review.googlesource.com/c/platform/bionic/+/881574 +#if 0 TEST(signal, sigaction_filter) { ClearSignalMask(); static uint64_t sigset; @@ -411,6 +415,7 @@ TEST(signal, sigaction64_filter) { ASSERT_NE(0ULL, sigset); TestSignalMaskFiltered(sigset, SignalMaskFunctionType::RtAware); } +#endif TEST(signal, sigprocmask_setmask_filter) { TestSignalMaskFunction( |