mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Create unit test framework for subprocesses
This commit is contained in:
parent
263711965f
commit
c5659b93f8
10 changed files with 279 additions and 77 deletions
|
@ -83,7 +83,7 @@ void testlib_error_leave(void) {
|
|||
wontreturn void testlib_abort(void) {
|
||||
testlib_finish();
|
||||
__restorewintty();
|
||||
_Exit(MIN(255, g_testlib_failed));
|
||||
_Exit(MAX(1, MIN(255, g_testlib_failed)));
|
||||
}
|
||||
|
||||
static void SetupTmpDir(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue