1 // SPDX-License-Identifier: GPL-2.0
3 #include "tests/tests.h"
4 #include "arch-tests.h"
6 #ifdef HAVE_AUXTRACE_SUPPORT
7 DEFINE_SUITE("x86 instruction decoder - new instructions", insn_x86);
9 static struct test_case intel_pt_tests[] = {
10 TEST_CASE("Intel PT packet decoder", intel_pt_pkt_decoder),
11 TEST_CASE("Intel PT hybrid CPU compatibility", intel_pt_hybrid_compat),
15 struct test_suite suite__intel_pt = {
17 .test_cases = intel_pt_tests,
21 #if defined(__x86_64__)
22 DEFINE_SUITE("x86 bp modify", bp_modify);
24 DEFINE_SUITE("x86 Sample parsing", x86_sample_parsing);
26 struct test_suite *arch_tests[] = {
27 #ifdef HAVE_DWARF_UNWIND_SUPPORT
30 #ifdef HAVE_AUXTRACE_SUPPORT
34 #if defined(__x86_64__)
37 &suite__x86_sample_parsing,