kcsan: Add test suite
authorMarco Elver <elver@google.com>
Tue, 5 May 2020 18:28:21 +0000 (20:28 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:04:48 +0000 (12:04 -0700)
commit1fe84fd4a4027a17d511a832f89ab14107650ba4
tree14decdabdefe090b83f9ea76e9bfddaac75030a8
parentc93773c1a3fedf6c3f6fa12833e2b74a9897c3e3
kcsan: Add test suite

This adds KCSAN test focusing on behaviour of the integrated runtime.
Tests various race scenarios, and verifies the reports generated to
console. Makes use of KUnit for test organization, and the Torture
framework for test thread control.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/kcsan/Makefile
kernel/kcsan/kcsan-test.c [new file with mode: 0644]
lib/Kconfig.kcsan