1 // SPDX-License-Identifier: GPL-2.0
2 #include <string.h>
3 #include "tests/tests.h"
4 #include "arch-tests.h"
5 
6 #ifdef HAVE_AUXTRACE_SUPPORT
7 DEFINE_SUITE("x86 instruction decoder - new instructions", insn_x86);
8 DEFINE_SUITE("Intel PT packet decoder", intel_pt_pkt_decoder);
9 #endif
10 #if defined(__x86_64__)
11 DEFINE_SUITE("x86 bp modify", bp_modify);
12 #endif
13 DEFINE_SUITE("x86 Sample parsing", x86_sample_parsing);
14 
15 struct test_suite *arch_tests[] = {
16 #ifdef HAVE_DWARF_UNWIND_SUPPORT
17 	&suite__dwarf_unwind,
18 #endif
19 #ifdef HAVE_AUXTRACE_SUPPORT
20 	&suite__insn_x86,
21 	&suite__intel_pt_pkt_decoder,
22 #endif
23 #if defined(__x86_64__)
24 	&suite__bp_modify,
25 #endif
26 	&suite__x86_sample_parsing,
27 	NULL,
28 };
29