mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Add integration test for redbean
This commit is contained in:
parent
01e6b3ad8d
commit
af59806a42
5 changed files with 106 additions and 41 deletions
|
@ -74,6 +74,7 @@ COSMOPOLITAN_C_START_
|
|||
* and if the test succeeds it'll be removed along with any contents.
|
||||
*/
|
||||
extern char testlib_enable_tmp_setup_teardown;
|
||||
extern char testlib_enable_tmp_setup_teardown_once;
|
||||
|
||||
/**
|
||||
* User-defined test setup function.
|
||||
|
@ -82,6 +83,7 @@ extern char testlib_enable_tmp_setup_teardown;
|
|||
* defined by the linkage.
|
||||
*/
|
||||
void SetUp(void);
|
||||
void SetUpOnce(void);
|
||||
|
||||
/**
|
||||
* User-defined test cleanup function.
|
||||
|
@ -90,6 +92,7 @@ void SetUp(void);
|
|||
* defined by the linkage.
|
||||
*/
|
||||
void TearDown(void);
|
||||
void TearDownOnce(void);
|
||||
|
||||
/*───────────────────────────────────────────────────────────────────────────│─╗
|
||||
│ cosmopolitan § testing library » assert or die ─╬─│┼
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue