Remove mips test workarounds.
The mips/mips64 targets were never able to pass these tests, and the
supported architectures don't need any of these workarounds.
Test: treehugger
Change-Id: I640a8b7a98ae13d9d9cdb09b0fbef61d31d4c79a
diff --git a/tests/signal_test.cpp b/tests/signal_test.cpp
index eec56dc..3c66034 100644
--- a/tests/signal_test.cpp
+++ b/tests/signal_test.cpp
@@ -282,8 +282,7 @@
int sig) {
// Both bionic and glibc set SA_RESTORER when talking to the kernel on arm,
// arm64, x86, and x86-64. The version of glibc we're using also doesn't
- // define SA_RESTORER, but luckily it's the same value everywhere, and mips
- // doesn't use the bit for anything.
+ // define SA_RESTORER, but luckily it's the same value everywhere.
static const unsigned sa_restorer = 0x4000000;
// See what's currently set for this signal.
@@ -598,19 +597,13 @@
}
TEST(signal, limits) {
- // This comes from the kernel.
+ // These come from the kernel.
ASSERT_EQ(32, __SIGRTMIN);
+ ASSERT_EQ(64, __SIGRTMAX);
// We reserve a non-zero number at the bottom for ourselves.
ASSERT_GT(SIGRTMIN, __SIGRTMIN);
- // MIPS has more signals than everyone else.
-#if defined(__mips__)
- ASSERT_EQ(128, __SIGRTMAX);
-#else
- ASSERT_EQ(64, __SIGRTMAX);
-#endif
-
// We don't currently reserve any at the top.
ASSERT_EQ(SIGRTMAX, __SIGRTMAX);
}