ANDROID: Disable check_sig_ign within kselftest_timers_posix_timers

This test does not compile as of 6.12 due to a missing `pthread_cancel`
implementation in the underlying sysroot. Disable for now.

Bug: 369330443
Bug: 367265496
Change-Id: I49537b25eddbf8c2502d809be06bd028f8f1e421
Signed-off-by: Matthias Maennich <maennich@google.com>
This commit is contained in:
Matthias Maennich
2024-09-24 12:57:56 +00:00
committed by Matthias Männich
parent b5aeebd6f1
commit f3a29e7eb6
@@ -250,6 +250,8 @@ static void *ignore_thread(void *arg)
return NULL;
}
// TODO: b/369330443 - broken due to missing pthread_cancel in sysroot
#if 0
static void check_sig_ign(int thread)
{
struct tmrsig tsig = { };
@@ -335,6 +337,7 @@ static void check_sig_ign(int thread)
"check_sig_ign SIGEV_THREAD_ID\n");
}
}
#endif
static void check_rearm(void)
{
@@ -599,7 +602,7 @@ static void check_overrun(int which, const char *name)
int main(int argc, char **argv)
{
ksft_print_header();
ksft_set_plan(18);
ksft_set_plan(14);
ksft_print_msg("Testing posix timers. False negative may happen on CPU execution \n");
ksft_print_msg("based timers if other threads run on the CPU...\n");
@@ -621,10 +624,13 @@ int main(int argc, char **argv)
check_timer_create(CLOCK_PROCESS_CPUTIME_ID, "CLOCK_PROCESS_CPUTIME_ID");
check_timer_distribution();
// TODO: b/369330443 - broken due to missing pthread_cancel in sysroot
#if 0
check_sig_ign(0);
check_sig_ign(1);
check_rearm();
check_delete();
#endif
check_sigev_none(CLOCK_MONOTONIC, "CLOCK_MONOTONIC");
check_sigev_none(CLOCK_PROCESS_CPUTIME_ID, "CLOCK_PROCESS_CPUTIME_ID");
check_gettime(CLOCK_MONOTONIC, "CLOCK_MONOTONIC");