Skip to content
  • Vladimir Sementsov-Ogievskiy's avatar
    d74c754c
    iotests: add testrunner.py · d74c754c
    Vladimir Sementsov-Ogievskiy authored
    
    
    Add TestRunner class, which will run tests in a new python iotests
    running framework.
    
    There are some differences with current ./check behavior, most
    significant are:
    - Consider all tests self-executable, just run them, don't run python
      by hand.
    - Elapsed time is cached in json file
    - Elapsed time precision increased a bit
    - Instead of using "diff -w" which ignores all whitespace differences,
      manually strip whitespace at line end then use python difflib, which
      no longer ignores spacing mid-line
    
    Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
    Message-Id: <20210125185056.129513-5-vsementsov@virtuozzo.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    d74c754c
    iotests: add testrunner.py
    Vladimir Sementsov-Ogievskiy authored
    
    
    Add TestRunner class, which will run tests in a new python iotests
    running framework.
    
    There are some differences with current ./check behavior, most
    significant are:
    - Consider all tests self-executable, just run them, don't run python
      by hand.
    - Elapsed time is cached in json file
    - Elapsed time precision increased a bit
    - Instead of using "diff -w" which ignores all whitespace differences,
      manually strip whitespace at line end then use python difflib, which
      no longer ignores spacing mid-line
    
    Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
    Message-Id: <20210125185056.129513-5-vsementsov@virtuozzo.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Loading