xref: /freebsd/lib/libkvm/tests/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
110f81a9bSEnji Cooper.include <bsd.own.mk>
210f81a9bSEnji Cooper
310f81a9bSEnji CooperATF_TESTS_C+=	kvm_close_test
410f81a9bSEnji CooperATF_TESTS_C+=	kvm_geterr_test
510f81a9bSEnji CooperATF_TESTS_C+=	kvm_open_test
610f81a9bSEnji CooperATF_TESTS_C+=	kvm_open2_test
7*537976d1SAlfredo Dal'Ava JuniorATF_TESTS_C+=	kvm_read_test
810f81a9bSEnji Cooper
910f81a9bSEnji CooperCFLAGS.kvm_geterr_test+=	-I${.CURDIR:H}
10*537976d1SAlfredo Dal'Ava JuniorCFLAGS.kvm_read_test+=		-I${.CURDIR:H}
1110f81a9bSEnji Cooper
1210f81a9bSEnji CooperLIBADD+=	kvm
1310f81a9bSEnji Cooper
1410f81a9bSEnji CooperBINDIR=		${TESTSDIR}
1510f81a9bSEnji Cooper
16*537976d1SAlfredo Dal'Ava Junior.for t in kvm_geterr_test kvm_open_test kvm_open2_test kvm_read_test
1710f81a9bSEnji CooperSRCS.$t=	$t.c kvm_test_common.c
1810f81a9bSEnji Cooper.endfor
1910f81a9bSEnji Cooper
2010f81a9bSEnji Cooper.include <bsd.test.mk>
21