Lines Matching refs:os
1 import os
12 self.test_sub_dir = os.path.normcase(str(test_sub_dir)).split(';')
60 for filename in os.listdir(source_path):
63 if not os.path.normcase(filename) in self.test_sub_dir:
66 filepath = os.path.join(source_path, filename)
67 if not os.path.isdir(filepath):
70 for subfilename in os.listdir(filepath):
72 execpath = os.path.join(filepath, subfilename)
81 testPath,testName = os.path.split(test.getSourcePath())
82 while not os.path.exists(testPath):
85 testPath, namePrefix = os.path.split(testPath)
86 testName = os.path.join(namePrefix, testName)
106 for filename in os.listdir(source_path):
112 filepath = os.path.join(source_path, filename)
113 if not os.path.isdir(filepath):
114 base,ext = os.path.splitext(filename)
163 for dirname,subdirs,filenames in os.walk(dir):
177 path = os.path.join(dirname,filename)
179 if suffix.startswith(os.sep):
182 path_in_suite + tuple(suffix.split(os.sep)),