Exemplo n.º 1
0
        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():