apjanke / octave-testify

New BIST (Built-In Self Test) functions for GNU Octave
GNU General Public License v3.0
4 stars 2 forks source link

Files with all-skipped tests appear in "files with no tests" #73

Closed apjanke closed 5 years ago

apjanke commented 5 years ago
>> [rslt,details] = test2('getframe')
PASSES 2 out of 2 tests
Skipped 2 tests due to run-time conditions
rslt = 0
details =
testify.internal.BistRunResult:
  scalar structure containing the fields:
    elapsed_wall_time =    3.070831298828125e-03
    failed_files = {}(0x0)
    files_processed =
    {
      [1,1] = /Applications/Octave-5.1.0.app/Contents/Resources/usr/Cellar/octave-octave-app@5.1.0/5.1.0/share/octave/5.1.0/m/image/getframe.m
    }
    files_with_no_tests =
    {
      [1,1] = /Applications/Octave-5.1.0.app/Contents/Resources/usr/Cellar/octave-octave-app@5.1.0/5.1.0/share/octave/5.1.0/m/image/getframe.m
    }
    files_with_tests = {}(0x0)
    n_fail = 0
    n_pass =  2
    n_really_fail = 0
    n_regression = 0
    n_skip =  2
    n_skip_feature = 0
    n_skip_runtime =  2
    n_test =  2
    n_xfail = 0
    n_xfail_bug = 0

>>

The file shouldn't be in files_with_no_tests there.