blob: 1c8afe2ff953b23c2202fa20c997c40160105872 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include <al/lib.h>
#include "lib.h"
#include "array.h"
#ifdef AL_HAVE_GNU_EXTENSIONS
#include "array_typed.h"
#endif
#include "str.h"
#include "ring_buffer.h"
s32 main(void)
{
if (!lib_tests_run()) goto fail;
if (!array_tests_run()) goto fail;
#ifdef AL_HAVE_GNU_EXTENSIONS
if (!array_typed_tests_run()) goto fail;
#endif
if (!str_tests_run()) goto fail;
if (!ring_buffer_tests_run()) goto fail;
return EXIT_SUCCESS;
fail:
return EXIT_FAILURE;
}
|