Changes in / [6d4ec49:82c588a]


Ignore:
Location:
tests/python
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • tests/python/run_all_tests

    r6d4ec49 r82c588a  
    1111import unittest
    1212
    13 modules_to_test = ['aubiomodule', 'fvec', 'cvec']
     13from glob import glob
     14modules_to_test = [i.split('.')[0] for i in glob('*.py')]
    1415
    1516if __name__ == '__main__':
    16   for module in modules_to_test: exec('from %s import *' % module)
     17  for module in modules_to_test:
     18    if module != 'all_tests': # (not actually needed)
     19      exec('from %s import *' % module)
    1720  unittest.main()
Note: See TracChangeset for help on using the changeset viewer.