feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 6bec1ed was
6bec1ed,
checked in by Paul Brossier <piem@piem.org>, 17 years ago
|
list_missing_tests: add script to get the list of missing test files
|
-
Property mode set to
100755
|
File size:
846 bytes
|
Line | |
---|
1 | #! /usr/bin/python |
---|
2 | |
---|
3 | from glob import glob |
---|
4 | from os.path import splitext, exists |
---|
5 | import sys |
---|
6 | |
---|
7 | if len(sys.argv) > 1: verbose = True |
---|
8 | else: verbose = False |
---|
9 | |
---|
10 | cfiles = [ file.split('/')[-1] for file in glob('../../src/*.c') ] |
---|
11 | cfiles.sort() |
---|
12 | |
---|
13 | for cfile in cfiles: |
---|
14 | pythonfile=splitext(cfile)[0]+'.py' |
---|
15 | if not exists(pythonfile): |
---|
16 | print "[X] %30s" % cfile, "[ ] %30s" % pythonfile |
---|
17 | #print cfile, "has NO test", pythonfile |
---|
18 | elif verbose: |
---|
19 | print "[X] %30s" % cfile, "[X] %30s" % pythonfile |
---|
20 | |
---|
21 | pythonfiles = [ file.split('/')[-1] for file in glob('*.py') ] |
---|
22 | pythonfiles.sort() |
---|
23 | |
---|
24 | for pythonfile in pythonfiles: |
---|
25 | cfile=splitext(pythonfile)[0]+'.c' |
---|
26 | if not exists('../../'+cfile): |
---|
27 | print "[ ] %30s" % cfile, "[X] %30s" % pythonfile |
---|
28 | #print pythonfile, "has NO source", cfile |
---|
29 | elif verbose: |
---|
30 | print "[X] %30s" % cfile, "[X] %30s" % pythonfile |
---|
Note: See
TracBrowser
for help on using the repository browser.