[PATCH tip/core/rcu 07/21] rcutorture: Provide rudimentary Makefile

From: Paul E. McKenney
Date: Thu May 30 2019 - 11:22:10 EST


This commit provides a rudimentary Makefile that runs a 10-minute
rcutorture test on scenario TREE01. This must be run on a system capable
of spawning virtual machines and with everything installed to permit
building Linux kernels.

Reported-by: Shuah Khan <shuah@xxxxxxxxxx>
Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxx>
---
tools/testing/selftests/rcutorture/Makefile | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 tools/testing/selftests/rcutorture/Makefile

diff --git a/tools/testing/selftests/rcutorture/Makefile b/tools/testing/selftests/rcutorture/Makefile
new file mode 100644
index 000000000000..5202dc666206
--- /dev/null
+++ b/tools/testing/selftests/rcutorture/Makefile
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0+
+all:
+ ( cd ../../../..; tools/testing/selftests/rcutorture/bin/kvm.sh --duration 10 --configs TREE01 )
--
2.17.1