Changes in / [b4f0dde:ef3403c6]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/test.py

    rb4f0dde ref3403c6  
    7878                        else :
    7979                                print('ERROR: No expected file for test %s, ignoring it' % testname, file=sys.stderr)
     80
     81        # make sure we have at least some test to run
     82        if not tests :
     83                print('ERROR: No valid test to run', file=sys.stderr)
     84                sys.exit(1)
    8085
    8186        return tests
     
    261266                tests = validTests( options )
    262267
    263         # make sure we have at least some test to run
    264         if not tests :
    265                 print('ERROR: No valid test to run', file=sys.stderr)
    266                 sys.exit(1)
    267 
    268 
    269268        # sort the test alphabetically for convenience
    270269        tests.sort(key=lambda t: (t.arch if t.arch else '') + t.target())
Note: See TracChangeset for help on using the changeset viewer.