Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/python/run_all_tests

    r031b1f9 r974dddc  
    11#! /usr/bin/python
    2 
    3 # add ${src}/python and ${src}/python/aubio/.libs to python path
    4 # so the script is runnable from a compiled source tree.
    5 import sys, os
    6 
    7 cur_dir = os.path.dirname(sys.argv[0])
    8 sys.path.append(os.path.join(cur_dir,'..','..','python'))
    9 sys.path.append(os.path.join(cur_dir,'..','..','python','aubio','.libs'))
    102
    113import unittest
     
    157  return [i.split('.')[0].replace('/','.') for i in glob(path)]
    168
    17 modules_to_test  = list_of_test_files('*.py')
     9modules_to_test  = []
     10modules_to_test += list_of_test_files('src/*.py')
     11modules_to_test += list_of_test_files('src/*/*.py')
    1812modules_to_test += list_of_test_files('examples/aubio*.py')
     13modules_to_test += list_of_test_files('*.py')
    1914
    2015if __name__ == '__main__':
Note: See TracChangeset for help on using the changeset viewer.