Lines Matching defs:rootdir
178 rootdir = args[0];
179 if not os.path.exists(rootdir):
180 print "ERROR: Regressions directory does not exist: %s" % rootdir
184 # The specified rootdir must exist since we got here
186 list = os.listdir(rootdir)
194 regression_test = os.path.join(rootdir, file)
196 rootdir, "region%s.out.ref" % region_index)
207 print "ERROR: Invalid test directory: %s" % rootdir
213 if has_power_region_files(rootdir):
215 if is_valid_test_directory(rootdir) or options.force:
216 run_test(rootdir)
218 print "WARN: Regression directory is not set up: %s" % rootdir
220 folders = os.listdir(rootdir)
223 testdir = os.path.join(rootdir, folder)
241 print "No valid regressions found in %s" % rootdir