Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orch/run: Add unit test xml scanner #1792

Merged
merged 3 commits into from
Nov 27, 2023
Merged

Commits on Nov 27, 2023

  1. add Scanner, UnitTestScanner, ValgrindScanner

    1. add 'run_unit_test' to Remote
    2. create util/scanner.py
    3. new exception: UnitTestError
    4. add `lxml` dependency in setup.cfg
    
    Signed-off-by: Vallari Agrawal <[email protected]>
    VallariAg committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    5d8ce21 View commit details
    Browse the repository at this point in the history
  2. add utils/tests/test_scanner.py

    and test_run_unit_test in test_remote.py
    
    Signed-off-by: Vallari Agrawal <[email protected]>
    VallariAg committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    bfbd419 View commit details
    Browse the repository at this point in the history
  3. util/scanner: add UnitTestScanner.num_of_total_failures

    In UnitTestScanner's final error message, add total count of failures
    before the first error occurance, like "(total x failed) <message>".
    Another minor change: add "..." if the failure reason is more than 200 chars.
    
    Signed-off-by: Vallari Agrawal <[email protected]>
    VallariAg committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    fec6e47 View commit details
    Browse the repository at this point in the history