Announcement

Collapse
No announcement yet.

Roadtest Proposed As A New Driver Testing Framework For Linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roadtest Proposed As A New Driver Testing Framework For Linux

    Phoronix: Roadtest Proposed As A New Driver Testing Framework For Linux

    Axis Communications on Friday published "Roadtest" as their initial patch-set for this new Linux driver testing framework...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    How often do kernel hardware tests run?
    I'm wondering why python was used since I wouldn't expect the mocked drivers to be performant. Both, runtime and startup. But if this is only about initialization, maybe it is fast enough.
    Last edited by oleid; 12 March 2022, 08:19 AM.

    Comment


    • #3
      Originally posted by oleid View Post
      How often do kernel hardware tests run?
      I'm wondering why python was used since I wouldn't expect the mocked drivers to be performant. Both, runtime and startup. But if this is only about initialization, maybe it is fast enough.
      During testing, you want to test code to be as simple as possible and as readable as possible, the least thing you want is a bug in your mock driver.

      Comment


      • #4
        Originally posted by oleid View Post
        How often do kernel hardware tests run?
        The answer to that is currently nobody in fact knows the answer to that question. Multi different companies run Linux kernel testing. If there is no error lot of them don't report their runs.

        Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.


        Linux testing does need a lot more work.



        Comment


        • #5
          Originally posted by NobodyXu View Post

          During testing, you want to test code to be as simple as possible and as readable as possible, the least thing you want is a bug in your mock driver.
          I agree, one more reason to use a readable language with types and sane static validation.
          Probably "go" would have been a fair choice.
          But I guess python was chosen because it is preinstalled everywhere.

          Comment


          • #6
            Originally posted by oleid View Post

            I agree, one more reason to use a readable language with types and sane static validation.
            Probably "go" would have been a fair choice.
            But I guess python was chosen because it is preinstalled everywhere.
            Having had a (very) brief look at the code*, it is clear that it makes use of python3's type annotations and is therefore statically checkable with mypy**.

            *: https://github.com/vwax/linux/commits/roadtest/rfc-v1

            **: http://mypy-lang.org/
            Last edited by ermo; 12 March 2022, 02:14 PM.

            Comment


            • #7
              Why there are cows in article thumbnail?

              Comment


              • #8
                Originally posted by arun54321 View Post
                Why there are cows in article thumbnail?
                It's the result of most articles being too technical and the concepts in question being so abstract.

                Comment

                Working...
                X