diff --git a/Scripts/VistACoveragePrep.py b/Scripts/VistACoveragePrep.py index 0c3c72455..e9eb40051 100644 --- a/Scripts/VistACoveragePrep.py +++ b/Scripts/VistACoveragePrep.py @@ -33,7 +33,10 @@ with testClient as vistAClient: vistAClient.setLogFile("CoveragePrep.log") RoutineExport = VistARoutineExport() - RoutineExport.exportRoutines(testClient,result.outputFile,result.routines,ROUTINE_EXTRACT_EXCLUDE_LIST) + if result.routines== ['*']: + RoutineExport.exportRoutines(testClient,result.outputFile,result.routines,ROUTINE_EXTRACT_EXCLUDE_LIST) + else: + RoutineExport.exportRoutines(testClient,result.outputFile,result.routines,None) import UnpackRO path, filename = os.path.split(result.outputFile) UnpackRO.unpack(open(result.outputFile,'r'), sys.stdout, path+'/CoverageSource/') \ No newline at end of file