Esempio n. 1
0
        print "%RFIND is an InterSystems Cache Utility, performing a REGEX search through the gtmroutines directory in " + findGTMRoutinesDir(
        )
        GTMRFind(resultsfolder, "RFindResultsPre.log", routineset)
    # Attempt to install the supplied KIDS build
    print "Installation of " + result.KIDSbuild + " : START"
    KIDSInstaller = DefaultKIDSBuildInstaller(result.KIDSbuild,
                                              KIDSParser.installNameList[0],
                                              None,
                                              os.path.join(
                                                  result.outputDir,
                                                  'InstallLog.txt'),
                                              KIDSParser.installNameList,
                                              1,
                                              printTG=result.outputDir)

    KIDSInstaller.runInstallation(testClient, KIDSParser.installNameList)
    print "Installation of " + result.KIDSbuild + " : DONE"
    # Run the XINDEX utility on each build that was installed by the KIDS build
    for name in KIDSParser.installNameList:
        print "Running XINDEX and finding Checksums for installed package: " + name
        XINDEXbyBuildname(testClient, name, result.outputDir)
        PrintChecksumsbyBuildname(testClient, name, result.outputDir)
    rfindpost = os.path.join(resultsfolder, "RFindResultsPost.log")
    rcheckpost = os.path.join(resultsfolder, "RCheckResultsPost.log")
    if testClient.isCache():
        print "Writing out post-install %RCheck information: Start"
        WriteRCheck(testClient, resultsfolder, "RCheckResultsPost.log",
                    routineset)
        print "Writing out post-install %RCheck information: Done"
        print "Writing out post-install %RFind information: Start"
        WriteRFind(testClient, resultsfolder, "RFindResultsPost.log",
Esempio n. 2
0
            "%RFIND is an InterSystems Cache Utility, performing a REGEX search through the gtmroutines directory in "
            + findGTMRoutinesDir())
        GTMRFind(resultsfolder, "RFindResultsPre.log", routineset)
    # Attempt to install the supplied KIDS build
    print("Installation of " + result.KIDSbuild + " : START")
    KIDSInstaller = DefaultKIDSBuildInstaller(result.KIDSbuild,
                                              KIDSParser.installNameList[0],
                                              None,
                                              os.path.join(
                                                  result.outputDir,
                                                  'InstallLog.txt'),
                                              KIDSParser.installNameList,
                                              1,
                                              printTG=result.outputDir)

    KIDSInstaller.runInstallation(testClient)
    print("Installation of " + result.KIDSbuild + " : DONE")
    # Run the XINDEX utility on each build that was installed by the KIDS build
    for name in KIDSParser.installNameList:
        print("Running XINDEX and finding Checksums for installed package: " +
              name)
        XINDEXbyBuildname(testClient, name, result.outputDir)
        PrintChecksumsbyBuildname(testClient, name, result.outputDir)
    rfindpost = os.path.join(resultsfolder, "RFindResultsPost.log")
    rcheckpost = os.path.join(resultsfolder, "RCheckResultsPost.log")
    if testClient.isCache():
        print("Writing out post-install %RCheck information: Start")
        WriteRCheck(testClient, resultsfolder, "RCheckResultsPost.log",
                    routineset)
        print("Writing out post-install %RCheck information: Done")
        print("Writing out post-install %RFind information: Start")
Esempio n. 3
0
  if testClient.isCache():
    print "Writing out initial %RCheck information: Start"
    WriteRCheck(testClient,resultsfolder,"RCheckResultsPre.log",routineset)
    print "Writing out %RCheck information: Done"
    print "Writing out initial %RFind information: Start"
    WriteRFind(testClient,resultsfolder,"RFindResultsPre.log",routineset)
    print "Writing out %RFind information: Done"
  else:
    print "%RFIND is an InterSystems Cache Utility, performing a REGEX search through the gtmroutines directory in " + findGTMRoutinesDir()
    GTMRFind(resultsfolder,"RFindResultsPre.log",routineset)
  # Attempt to install the supplied KIDS build
  print "Installation of " + result.KIDSbuild+ " : START"
  KIDSInstaller = DefaultKIDSBuildInstaller(result.KIDSbuild,KIDSParser.installNameList[0],None,os.path.join(result.outputDir,'InstallLog.txt'),
                                            KIDSParser.installNameList,1,printTG=result.outputDir)

  KIDSInstaller.runInstallation(testClient)
  print "Installation of " + result.KIDSbuild+ " : DONE"
  # Run the XINDEX utility on each build that was installed by the KIDS build
  for name in KIDSParser.installNameList:
    print "Running XINDEX and finding Checksums for installed package: " + name
    XINDEXbyBuildname(testClient,name,result.outputDir)
    PrintChecksumsbyBuildname(testClient,name,result.outputDir)
  rfindpost=os.path.join(resultsfolder,"RFindResultsPost.log")
  rcheckpost= os.path.join(resultsfolder,"RCheckResultsPost.log")
  if testClient.isCache():
    print "Writing out post-install %RCheck information: Start"
    WriteRCheck(testClient,resultsfolder,"RCheckResultsPost.log",routineset)
    print "Writing out post-install %RCheck information: Done"
    print "Writing out post-install %RFind information: Start"
    WriteRFind(testClient,resultsfolder,"RFindResultsPost.log",routineset)
    print "Writing out post-install %RFind information: Done"
Esempio n. 4
0
  if testClient.isCache():
    print "Writing out initial %RCheck information: Start"
    WriteRCheck(testClient,resultsfolder,"RCheckResultsPre.log",routineset)
    print "Writing out %RCheck information: Done"
    print "Writing out initial %RFind information: Start"
    WriteRFind(testClient,resultsfolder,"RFindResultsPre.log",routineset)
    print "Writing out %RFind information: Done"
  else:
    print "%RFIND is an InterSystems Cache Utility, performing a REGEX search through the gtmroutines directory in " + findGTMRoutinesDir()
    GTMRFind(resultsfolder,"RFindResultsPre.log",routineset)
  # Attempt to install the supplied KIDS build
  print "Installation of " + result.KIDSbuild+ " : START"
  KIDSInstaller = DefaultKIDSBuildInstaller(result.KIDSbuild,KIDSParser.installNameList[0],None,os.path.join(result.outputDir,'InstallLog.txt'),
                                            KIDSParser.installNameList,1,printTG=result.outputDir)

  KIDSInstaller.runInstallation(testClient,KIDSParser.installNameList)
  print "Installation of " + result.KIDSbuild+ " : DONE"
  # Run the XINDEX utility on each build that was installed by the KIDS build
  for name in KIDSParser.installNameList:
    print "Running XINDEX and finding Checksums for installed package: " + name
    XINDEXbyBuildname(testClient,name,result.outputDir)
    PrintChecksumsbyBuildname(testClient,name,result.outputDir)
  rfindpost=os.path.join(resultsfolder,"RFindResultsPost.log")
  rcheckpost= os.path.join(resultsfolder,"RCheckResultsPost.log")
  if testClient.isCache():
    print "Writing out post-install %RCheck information: Start"
    WriteRCheck(testClient,resultsfolder,"RCheckResultsPost.log",routineset)
    print "Writing out post-install %RCheck information: Done"
    print "Writing out post-install %RFind information: Start"
    WriteRFind(testClient,resultsfolder,"RFindResultsPost.log",routineset)
    print "Writing out post-install %RFind information: Done"