mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 15:03:34 +00:00
Fix MODE=tiny build
This commit is contained in:
parent
9cc4f33c76
commit
ec3275179f
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue