2022-02-02 12:03:09 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2022-02-02 12:03:10 +01:00
|
|
|
#include "tests/basic_api.h"
|
2022-02-28 15:46:45 +01:00
|
|
|
#include "tests/alloc_api.h"
|
2022-02-28 15:46:47 +01:00
|
|
|
#include "tests/alloc_helpers_api.h"
|
2022-02-28 15:46:49 +01:00
|
|
|
#include "tests/alloc_nid_api.h"
|
2022-11-07 00:28:05 -06:00
|
|
|
#include "tests/alloc_exact_nid_api.h"
|
2022-07-13 22:17:17 -05:00
|
|
|
#include "tests/common.h"
|
2022-02-02 12:03:09 +01:00
|
|
|
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
2022-07-13 22:17:17 -05:00
|
|
|
parse_args(argc, argv);
|
2022-02-02 12:03:10 +01:00
|
|
|
memblock_basic_checks();
|
2022-02-28 15:46:45 +01:00
|
|
|
memblock_alloc_checks();
|
2022-02-28 15:46:47 +01:00
|
|
|
memblock_alloc_helpers_checks();
|
2022-02-28 15:46:49 +01:00
|
|
|
memblock_alloc_nid_checks();
|
2022-11-07 00:28:05 -06:00
|
|
|
memblock_alloc_exact_nid_checks();
|
2022-02-28 15:46:45 +01:00
|
|
|
|
2022-02-02 12:03:09 +01:00
|
|
|
return 0;
|
|
|
|
}
|