]> git.ozlabs.org Git - ccan/commitdiff
configurator: increase stack size in HAVE_POINTER_SAFE_MAKECONTEXT test
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Jun 2023 03:00:32 +0000 (12:30 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Jun 2023 03:00:32 +0000 (12:30 +0930)
This was *hanging* on GitHub's CI (Ubuntu 22.04) with clang.  The increase
seems to have fixed it.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/configurator/configurator.c

index 722a6f6928834e8e2df647bddbb28d96b59d5a83..7d8f6b095de4b6e615591b6fb37319a20fe603a3 100644 (file)
@@ -471,7 +471,7 @@ static const struct test base_tests[] = {
          "#include <stddef.h>\n"
          "#include <ucontext.h>\n"
          "static int worked = 0;\n"
-         "static char stack[1024];\n"
+         "static char stack[8192];\n"
          "static ucontext_t a, b;\n"
          "static void fn(void *p, void *q) {\n"
          "     void *cp = &worked;\n"