From 09b7828f4485ab242ff0318fa688b45033a0e9a7 Mon Sep 17 00:00:00 2001 From: "Hui, Chunyang" Date: Wed, 23 Jun 2021 03:18:02 +0000 Subject: [PATCH] Disable busyloop test case due to signal handling constraints in SIM mode --- test/exit_group/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/exit_group/main.c b/test/exit_group/main.c index 9477e6a5..bec487ce 100644 --- a/test/exit_group/main.c +++ b/test/exit_group/main.c @@ -18,7 +18,14 @@ // Type 1: a busy loop thread static void *busyloop_thread_func(void *_) { +// FIXME: Disable support for interrupting user code in simulation mode becase +// the interrupt signal is not handled well. +#ifdef SGX_MODE_SIM + printf("WARNING: Skip busyloop_thread_func case as we do not support " + "interrupting user code in SGX simulation mode\n"); +#else while (1) { } +#endif return NULL; }