Changeset b660fbc
- Timestamp:
- Nov 1, 2007, 2:05:53 PM (17 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 9f9f63f
- Parents:
- afb3576
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/list_missing_tests
rafb3576 rb660fbc 31 31 return status 32 32 33 def check_two_ways(src_dir, src_ext, tst_dir, tst_ext, verbose = False, tst_prefix = ''): 34 print "%20s " % (" FILES IN " + src_dir) + "|" + " FILES IN " + tst_dir 35 status = check_tst_against_src(src_dir, src_ext, tst_dir, verbose = verbose, tst_prefix = tst_prefix) 36 status += check_src_against_tst(tst_dir, tst_ext, src_dir, verbose = verbose, tst_prefix = tst_prefix) 37 return status 38 33 39 if __name__ == '__main__': 34 40 … … 36 42 else: verbose = False 37 43 38 src_dir = join(dirname(sys.argv[0]),'..','src') 44 base_directory = dirname(sys.argv[0]) 45 46 status = 0 47 48 src_dir = join(base_directory,'..','src') 39 49 src_ext = '.c' 50 tst_dir = join(base_directory,'python') 51 tst_ext = '.py' 52 status += check_two_ways(src_dir, src_ext, tst_dir, tst_ext, verbose = verbose) 40 53 41 tst_dir = join(dirname(sys.argv[0]),'python') 54 tst_dir = join(base_directory,'src') 55 tst_ext = '.c' 56 status += check_two_ways(src_dir, src_ext, tst_dir, tst_ext, verbose = verbose, tst_prefix = 'test-') 57 58 src_dir = join(base_directory,'..','examples') 59 src_ext = '.c' 60 tst_dir = join(base_directory,'python','examples') 42 61 tst_ext = '.py' 43 print "%20s " % (" FILES IN " + src_dir) + "|" + " FILES IN " + tst_dir 44 status = check_tst_against_src(src_dir, src_ext, tst_dir, verbose=verbose) 45 status += check_src_against_tst(tst_dir, tst_ext, src_dir, verbose=verbose) 46 47 tst_dir = join(dirname(sys.argv[0]),'src') 48 tst_ext = '.c' 49 print "%20s " % (" FILES IN " + src_dir) + "|" + " FILES IN " + tst_dir 50 status += check_tst_against_src(src_dir, src_ext, tst_dir, verbose=verbose, tst_prefix = 'test-') 51 status += check_src_against_tst(tst_dir, tst_ext, src_dir, verbose=verbose, tst_prefix = 'test-') 62 status += check_two_ways(src_dir, src_ext, tst_dir, tst_ext, verbose = verbose) 52 63 53 64 sys.exit(status)
Note: See TracChangeset
for help on using the changeset viewer.