Fix floating point tests Android compatibility
PATCH 1/1 Fix floating point tests Android compatibility
Floating point tests spawn a signal handler thread, which is then terminated with pthread_cancel / pthread_join calls. Since Android does not implement these functions, the tests were hanging.
The function calls to end the signal handler thread are actually not needed, it will just die when the main thread calls exit().
Signed-off-by Erick Reyes <[email protected]>
--- testcases/misc/math/float/main.c | 2 -- 1 file changed, 2 deletions(-)
testcases/misc/math/float/main.c +0 -2
@@ -299,8 +299,6 @@ finished:SAFE_FREE (pcom); } -pthread_cancel (sig_hand); -pthread_join (sig_hand,NULL );SAFE_FREE (tabcom);SAFE_FREE (threads);tst_rmdir ();
Signature · 1 line
2.17.0.rc1.321.gba9d0f2565-goog
PATCH 1/1 Fix floating point tests Android compatibility
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]