cosmopolitan/test/libc/calls
Justine Tunney e963d9c8e3 Add cpu / mem / fsz limits to build system
Thanks to all the refactorings we now have the ability to enforce
reasonable limitations on the amount of resources any individual
compile or test can consume. Those limits are currently:

- `-C 8` seconds of 3.1ghz CPU time
- `-M 256mebibytes` of virtual memory
- `-F 100megabyte` limit on file size

Only one file currently needs to exceed these limits:

    o/$(MODE)/third_party/python/Objects/unicodeobject.o: \
        QUOTA += -C16  # overrides cpu limit to 16 seconds

This change introduces a new sizetol() function to LIBC_FMT for parsing
byte or bit size strings with Si unit suffixes. Functions like atoi()
have been rewritten too.
2021-08-13 23:40:53 -07:00
..
access_test.c Change license 2020-12-27 17:18:44 -08:00
commandv_test.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
fcntl_test.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
fork_test.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ftruncate_test.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
getcwd_test.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
getenv_test.c Apply some touchups 2021-02-07 07:02:46 -08:00
ioctl_siocgifconf_test.c Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs 2021-06-25 18:44:04 -07:00
lseek_test.c Eliminate some flakes 2021-02-03 06:25:27 -08:00
mkdir_test.c Eliminate some flakes 2021-02-03 06:25:27 -08:00
mkntcmdline_test.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
mkntenvblock_test.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
mkntpath_test.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
mprotect_test.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
setrlimit_test.c Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
sigaction_test.c Remove undefined behaviors 2021-05-16 11:16:28 -07:00
signal_test.c Change license 2020-12-27 17:18:44 -08:00
stat_test.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
test.mk Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
vfork_test.c Delete LIBC_CALLS_HEFTY 2021-02-02 22:17:53 -08:00
writev_test.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00