Pull kselftest update from Shuah Khan:
"kselftest updates for 3.19-rc1:
- kcmp test include file cleanup
- kcmp change to build on all architectures
- A light weight kselftest framework that provides a set of
interfaces for tests to use to report results. In addition,
several tests are updated to use the framework.
- A new runtime system size test that prints the amount of RAM that
the currently running system is using"
* tag 'linux-kselftest-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
selftest: size: Add size test for Linux kernel
selftests/kcmp: Always try to build the test
selftests/kcmp: Don't include kernel headers
kcmp: Move kcmp.h into uapi
selftests/timers: change test to use ksft framework
selftests/kcmp: change test to use ksft framework
selftests/ipc: change test to use ksft framework
selftests/breakpoints: change test to use ksft framework
selftests: add kselftest framework for uniform test reporting
selftests/user: move test out of Makefile into a shell script
selftests/net: move test out of Makefile into a shell script
53 lines
916 B
Makefile
53 lines
916 B
Makefile
TARGETS = breakpoints
|
|
TARGETS += cpu-hotplug
|
|
TARGETS += efivarfs
|
|
TARGETS += kcmp
|
|
TARGETS += memfd
|
|
TARGETS += memory-hotplug
|
|
TARGETS += mqueue
|
|
TARGETS += mount
|
|
TARGETS += net
|
|
TARGETS += ptrace
|
|
TARGETS += timers
|
|
TARGETS += vm
|
|
TARGETS += powerpc
|
|
TARGETS += user
|
|
TARGETS += sysctl
|
|
TARGETS += firmware
|
|
TARGETS += ftrace
|
|
TARGETS += exec
|
|
TARGETS += size
|
|
|
|
TARGETS_HOTPLUG = cpu-hotplug
|
|
TARGETS_HOTPLUG += memory-hotplug
|
|
|
|
all:
|
|
for TARGET in $(TARGETS); do \
|
|
make -C $$TARGET; \
|
|
done;
|
|
|
|
run_tests: all
|
|
for TARGET in $(TARGETS); do \
|
|
make -C $$TARGET run_tests; \
|
|
done;
|
|
|
|
hotplug:
|
|
for TARGET in $(TARGETS_HOTPLUG); do \
|
|
make -C $$TARGET; \
|
|
done;
|
|
|
|
run_hotplug: hotplug
|
|
for TARGET in $(TARGETS_HOTPLUG); do \
|
|
make -C $$TARGET run_full_test; \
|
|
done;
|
|
|
|
clean_hotplug:
|
|
for TARGET in $(TARGETS_HOTPLUG); do \
|
|
make -C $$TARGET clean; \
|
|
done;
|
|
|
|
clean:
|
|
for TARGET in $(TARGETS); do \
|
|
make -C $$TARGET clean; \
|
|
done;
|