示例#1
0
文件: sge_test.py 项目: bbockelm/gip
def main():
    """
    The main entry point for when sge_test is run in standalone mode.
    """
    cp = config("test_configs/pf-sge.conf")
    stream = streamHandler(cp)
    runTest(cp, TestSGEDynamic, stream, per_site=False)
示例#2
0
def main():
    """
    The main entry point for when pbs_test is run in standalone mode.
    """
    cp = config("test_configs/red.conf")
    stream = streamHandler(cp)
    runTest(cp, TestPbsDynamic, stream, per_site=False)
示例#3
0
def main():
    """
    The main entry point for when compare_bdii_cemon is run in standalone mode.
    """
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestCompareData, stream)
示例#4
0
def main():
    """
    The main entry point for testing the osg-info-wrapper implementation.
    """
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestOsgInfoWrapper, stream, per_site=False)
示例#5
0
def main():
    """
    The main entry point for when compare_bdii_cemon is run in standalone mode.
    """
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestCompareData, stream)
示例#6
0
def main():
    """
    The main entry point for testing the osg-info-wrapper implementation.
    """
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestOsgInfoWrapper, stream, per_site=False)
示例#7
0
文件: test_full.py 项目: tiradani/gip
def main():
    """
    The main entry point for when the test is in standalone mode.
    """
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestGipFull, stream, per_site=False)
示例#8
0
def main():
    """
    The main entry point for when condor_test is run in standalone mode.
    """
    os.environ['GIP_TESTING'] = '1'
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestCondorProvider, stream, per_site=False)
示例#9
0
def main():
    """
    The main entry point for when condor_test is run in standalone mode.
    """
    os.environ['GIP_TESTING'] = '1'
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestCondorProvider, stream, per_site=False)
示例#10
0
def main(args):
    """
    The main entry point for when gip_validate is run in standalone mode.
    """
    cp = getTestConfig(args)
    try:
        type = args[1]
        if type == "url":
            args.pop(1)
            cp.set("gip_tests", "validate_type", "url")
        elif type == "gipinfo":
            args.pop(1)
            cp.set("gip_tests", "validate_type", "gipinfo")
        else:
            cp.set("gip_tests", "validate_type", "bdii")
    except:
        cp.set("gip_tests", "validate_type", "bdii")

    runTest(cp, GipValidate)
示例#11
0
def main(args):
    """
    The main entry point for when gip_validate is run in standalone mode.
    """
    cp = getTestConfig(args)
    try:
        type = args[1]
        if type == "url":
            args.pop(1)
            cp.set("gip_tests", "validate_type", "url")
        elif type == "gipinfo":
            args.pop(1)
            cp.set("gip_tests", "validate_type", "gipinfo")
        else:
            cp.set("gip_tests", "validate_type", "bdii")
    except:
        cp.set("gip_tests", "validate_type", "bdii")

    runTest(cp, GipValidate)
示例#12
0
文件: test_se.py 项目: bbockelm/gip
def main():
    os.environ['GIP_TESTING'] = '1'
    cp = config("test_configs/red-se-test.conf")
    stream = streamHandler(cp)
    runTest(cp, TestSEConfigs, stream, per_site=False)
示例#13
0
def main():
    cp = config("test_configs/red-software-test.conf")
    stream = streamHandler(cp)
    runTest(cp, TestSoftware, stream, per_site=False)
示例#14
0
文件: test_se.py 项目: tiradani/gip
def main():
    os.environ['GIP_TESTING'] = '1'
    cp = config("test_configs/red-se-test.conf")
    stream = streamHandler(cp)
    runTest(cp, TestSEConfigs, stream, per_site=False)
示例#15
0
def main():
    cp = config("test_configs/red.conf")
    stream = streamHandler(cp)
    runTest(cp, TestCESEBind, stream, per_site=False)
示例#16
0
def main():
    os.environ["GIP_TESTING"] = "1"
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestSiteTopology, stream, per_site=False)
示例#17
0
def main():
    os.environ['GIP_TESTING'] = '1'
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestGipCommon, stream, per_site=False)
示例#18
0
def main():
    cp = config("test_configs/red-software-test.conf")
    stream = streamHandler(cp)
    runTest(cp, TestSoftware, stream, per_site=False)