1 /* SPDX-License-Identifier: Apache-2.0
2 * Copyright(c) 2021 Cisco Systems, Inc.
5 #include <vppinfra/format.h>
6 #include <vppinfra/vector/test/test.h>
8 test_registration_t *test_registrations[CLIB_MARCH_TYPE_N_VARIANTS] = {};
11 main (int argc, char *argv[])
13 clib_mem_init (0, 64ULL << 20);
15 for (int i = 0; i < CLIB_MARCH_TYPE_N_VARIANTS; i++)
17 test_registration_t *r = test_registrations[i];
22 fformat (stdout, "\nMultiarch Variant: %U\n", format_march_variant, i);
24 "-------------------------------------------------------\n");
29 fformat (stdout, "%-50s %s\n", r->name, err ? "FAIL" : "PASS");
32 clib_error_report (err);
33 fformat (stdout, "\n");
40 fformat (stdout, "\n");