185bbddc3SFrederic Weisbecker# Taken from perf makefile
285bbddc3SFrederic Weisbeckeruname_M := $(shell uname -m 2>/dev/null || echo not)
39fae100cSBamvor Jian ZhangARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
485bbddc3SFrederic Weisbecker
59fae100cSBamvor Jian Zhangifeq ($(ARCH),x86)
69fae100cSBamvor Jian ZhangTEST_PROGS := breakpoint_test
79fae100cSBamvor Jian Zhangendif
885bbddc3SFrederic Weisbecker
9bfd092b8SGreg HackmannTEST_PROGS += step_after_suspend_test
10bfd092b8SGreg Hackmann
113b5bab39SBen Hutchingsall: $(TEST_PROGS)
125e29a910SMichael Ellerman
135e29a910SMichael Ellermaninclude ../lib.mk
14f467f714SFrederic Weisbecker
1585bbddc3SFrederic Weisbeckerclean:
16bfd092b8SGreg Hackmann	rm -fr breakpoint_test step_after_suspend_test
17