0001
0002 #include <string.h>
0003 #include "tests/tests.h"
0004 #include "arch-tests.h"
0005
0006 #ifdef HAVE_AUXTRACE_SUPPORT
0007 DEFINE_SUITE("x86 instruction decoder - new instructions", insn_x86);
0008 DEFINE_SUITE("Intel PT packet decoder", intel_pt_pkt_decoder);
0009 #endif
0010 #if defined(__x86_64__)
0011 DEFINE_SUITE("x86 bp modify", bp_modify);
0012 #endif
0013 DEFINE_SUITE("x86 Sample parsing", x86_sample_parsing);
0014
0015 struct test_suite *arch_tests[] = {
0016 #ifdef HAVE_DWARF_UNWIND_SUPPORT
0017 &suite__dwarf_unwind,
0018 #endif
0019 #ifdef HAVE_AUXTRACE_SUPPORT
0020 &suite__insn_x86,
0021 &suite__intel_pt_pkt_decoder,
0022 #endif
0023 #if defined(__x86_64__)
0024 &suite__bp_modify,
0025 #endif
0026 &suite__x86_sample_parsing,
0027 NULL,
0028 };