3
# -----------------------------------------------------------------------
4
# Runs all misc-test-apps test cases
6
# Copyright (C) 2009 Kai Vehmanen
7
# Licensed under GPL. See the file 'COPYING' for more information.
8
# -----------------------------------------------------------------------
14
def check_for_test_data_files(filenamestr):
16
file = open(filenamestr)
19
print "Test data file '" + filenamestr + "' not found; can't run tests. See 'README.txt'."
23
check_for_test_data_files("foo.wav")
24
check_for_test_data_files("ecatestlist.txt")
25
check_for_test_data_files("ecasound_test")
27
file = open("ecatestlist.txt")
28
lines = file.readlines()
35
testcases = string.split(line)
36
for testcase in testcases:
37
print "Running test " + testcase + ":"
38
res = os.system("./" + testcase)