Skip to content
Snippets Groups Projects
  1. May 15, 2019
  2. Apr 19, 2019
  3. Apr 08, 2019
    • Tobin C. Harding's avatar
      kselftest: Add test module framework header · eebf4dd4
      Tobin C. Harding authored
      
      kselftest runs as a userspace process.  Sometimes we need to test things
      from kernel space.  One way of doing this is by creating a test module.
      Currently doing so requires developers to write a bunch of boiler plate
      in the module if kselftest is to be used to run the tests.  This means
      we currently have a load of duplicate code to achieve these ends.  If we
      have a uniform method for implementing test modules then we can reduce
      code duplication, ensure uniformity in the test framework, ease code
      maintenance, and reduce the work required to create tests.  This all
      helps to encourage developers to write and run tests.
      
      Add a C header file that can be included in test modules.  This provides
      a single point for common test functions/macros.  Implement a few macros
      that make up the start of the test framework.
      
      Add documentation for new kselftest header to kselftest documentation.
      
      Acked-by: default avatarKees Cook <keescook@chromium.org>
      Signed-off-by: default avatarTobin C. Harding <tobin@kernel.org>
      Signed-off-by: default avatarShuah Khan <shuah@kernel.org>
      eebf4dd4
  4. Jan 15, 2019
  5. Dec 28, 2018
  6. Dec 06, 2018
  7. Nov 25, 2018
  8. Nov 07, 2018
  9. Aug 31, 2018
  10. Jun 29, 2018
  11. Apr 27, 2018
  12. Apr 16, 2018
  13. Mar 21, 2018
  14. Feb 22, 2018
  15. Nov 18, 2017
  16. Nov 16, 2017
  17. Nov 15, 2017
  18. Oct 19, 2017
  19. Oct 12, 2017
  20. Jul 17, 2017
  21. Jul 06, 2017
  22. Jun 26, 2017
  23. Jun 09, 2017
  24. Jun 07, 2017
  25. May 16, 2017
  26. Mar 10, 2017
  27. Feb 15, 2017
  28. Dec 15, 2016
  29. Nov 03, 2016
  30. Oct 26, 2016
  31. Oct 11, 2016
  32. Aug 18, 2016
Loading