Update documentation to explain the TEST_CONFIG_DEPS flag in lib.mk. TEST_CONFIG_DEPS is used to validate the presence of required config flags specified in the selftest makefile before compiling or running a test.
Signed-off-by: Siddharth Menon simeddon@gmail.com --- Documentation/dev-tools/kselftest.rst | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst index fdb1df86783a..e816b282363f 100644 --- a/Documentation/dev-tools/kselftest.rst +++ b/Documentation/dev-tools/kselftest.rst @@ -301,6 +301,9 @@ Contributing new tests (details)
e.g: tools/testing/selftests/android/config
+ * Use TEST_CONFIG_DEPS to specify required config options to be enabled + before a test is allowed to run or compile. + * Create a .gitignore file inside test directory and add all generated objects in it.