| perf-test-$(CONFIG_DWARF_UNWIND) += regs_load.o |
| perf-test-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o |
| |
| perf-test-y += arch-tests.o |
| perf-test-y += sample-parsing.o |
| perf-test-y += hybrid.o |
| perf-test-$(CONFIG_AUXTRACE) += intel-pt-test.o |
| ifeq ($(CONFIG_EXTRA_TESTS),y) |
| perf-test-$(CONFIG_AUXTRACE) += insn-x86.o |
| endif |
| perf-test-$(CONFIG_X86_64) += bp-modify.o |
| perf-test-y += amd-ibs-via-core-pmu.o |
| |
| ifdef SHELLCHECK |
| SHELL_TESTS := gen-insn-x86-dat.sh |
| TEST_LOGS := $(SHELL_TESTS:%=%.shellcheck_log) |
| else |
| SHELL_TESTS := |
| TEST_LOGS := |
| endif |
| |
| $(OUTPUT)%.shellcheck_log: % |
| $(call rule_mkdir) |
| $(Q)$(call echo-cmd,test)shellcheck -a -S warning "$<" > $@ || (cat $@ && rm $@ && false) |
| |
| perf-test-y += $(TEST_LOGS) |