imageDifferenceTolerance=args.imagetolerance) app = ivwpy.regression.app.App(appPath=inviwopath, moduleTestPaths=modulePaths, outputDir=output, jsonFile="report", htmlFile="report", sqlFile="report", runSettings=runSettings, testSettings=testSettings) testfilter = makeFilter(args.include, args.exclude) testrange = makeSlice(args.slice) if args.list: app.printTestList(testrange=testrange, testfilter=testfilter) exit(0) try: app.runTests(testrange=testrange, testfilter=testfilter, onlyRunFailed=args.failed) app.saveJson() header = None if args.header and os.path.exists(args.header): with open(args.header) as f: header = f.read() footer = None if args.footer and os.path.exists(args.footer): with open(args.footer) as f:
app = ivwpy.regression.app.App(appPath = inviwopath, moduleTestPaths = modulePaths, outputDir = output, jsonFile = "report", htmlFile = "report", sqlFile = "report", runSettings = runSettings, testSettings = testSettings) testfilter = makeFilter(args.include, args.exclude) testrange = makeSlice(args.slice) if args.list: app.printTestList(testrange = testrange, testfilter = testfilter) exit(0) try: app.runTests(testrange = testrange, testfilter = testfilter, onlyRunFailed = args.failed) app.saveJson() header = None if args.header and os.path.exists(args.header): with open(args.header) as f: header = f.read() footer = None if args.footer and os.path.exists(args.footer): with open(args.footer) as f: footer = f.read()