Fix MODE=tiny build

This commit is contained in:
Justine Tunney 2023-10-10 00:58:47 -07:00
parent 9cc4f33c76
commit ec3275179f
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -18,6 +18,7 @@
*/
#include "libc/calls/calls.h"
#include "libc/calls/ucontext.h"
#include "libc/dce.h"
#include "libc/limits.h"
#include "libc/mem/gc.internal.h"
#include "libc/runtime/runtime.h"
@ -86,6 +87,7 @@ TEST(makecontext, crash) {
}
TEST(makecontext, backtrace) {
if (IsTiny()) return; // doesn't print full crash report
SPAWN(fork);
ASSERT_SYS(0, 0, close(2));
ASSERT_SYS(0, 2, creat("log", 0644));