]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1daf72ec18b2a0ffee60df3dab6d66f32e4a0153
tree14decdabdefe090b83f9ea76e9bfddaac75030a8
parentbbb5f38996f71ce78bd4d944126f6b48b59ac0bb
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