]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - tools/testing/selftests/vm/Makefile
selftests/vm/transhuge-stress: stress test for memory compaction
[mirror_ubuntu-bionic-kernel.git] / tools / testing / selftests / vm / Makefile
CommitLineData
f0f57b2b
DY
1# Makefile for vm selftests
2
3CC = $(CROSS_COMPILE)gcc
fcc1f2d5 4CFLAGS = -Wall
7e50533d 5BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest
0085d61f 6BINARIES += transhuge-stress
f0f57b2b 7
fc256f04 8all: $(BINARIES)
f0f57b2b
DY
9%: %.c
10 $(CC) $(CFLAGS) -o $@ $^
11
12run_tests: all
51a1d165 13 @/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)
f0f57b2b
DY
14
15clean:
fc256f04 16 $(RM) $(BINARIES)