1*24fe831cSKees Cook# Makefile for sysctl selftests. 2*24fe831cSKees Cook# Expects kernel.sysctl_writes_strict=1. 3*24fe831cSKees Cook 4*24fe831cSKees Cook# No binaries, but make sure arg-less "make" doesn't trigger "run_tests". 5*24fe831cSKees Cookall: 6*24fe831cSKees Cook 7*24fe831cSKees Cook# Allow specific tests to be selected. 8*24fe831cSKees Cooktest_num: 9*24fe831cSKees Cook @/bin/sh ./run_numerictests 10*24fe831cSKees Cook 11*24fe831cSKees Cooktest_string: 12*24fe831cSKees Cook @/bin/sh ./run_stringtests 13*24fe831cSKees Cook 14*24fe831cSKees Cookrun_tests: all test_num test_string 15*24fe831cSKees Cook 16*24fe831cSKees Cook# Nothing to clean up. 17*24fe831cSKees Cookclean: 18*24fe831cSKees Cook 19*24fe831cSKees Cook.PHONY: all run_tests clean test_num test_string 20