예제 #1
0
            print()
        print("Differs:")
        for differ_name, differ in differs.items():
            print("Differ:", differ_name)
            print(differ.get_valid_params())
            print()

    tester_params = {}
    for tester_key, tester_value in testers.items():
        #Note as a side effect, testers can add run types to
        # the tester.
        tester_params[tester_key] = tester_value.get_valid_params()

    Tester.initialize_current_run_type()
    if args.add_run_types is not None:
        Tester.add_run_types(
            set(el.strip() for el in args.add_run_types.split(",")))

    if args.only_run_types is not None:
        Tester.set_only_run_types(
            set(el.strip() for el in args.only_run_types.split(",")))

    function_list = []  #Store the data for the pool runner
    test_name_list = []
    ready_to_run = []
    function_postreq = {
    }  #If this is non-empty for a key, enable the postreq's
    name_to_id = {}

    for test_dir, test_file in test_list:
        #print(test_file)
        tree = trees.TreeStructure.getpot_to_input_node(open(test_file, 'r'))
예제 #2
0
            print()
        print("Differs:")
        for differ_name, differ in differs.items():
            print("Differ:", differ_name)
            print(differ.get_valid_params())
            print()

    tester_params = {}
    for tester in testers:
        #Note as a side effect, testers can add run types to
        # the tester.
        tester_params[tester] = testers[tester].get_valid_params()

    Tester.initialize_current_run_type()
    if args.add_run_types is not None:
        Tester.add_run_types(set(args.add_run_types.split(",")))

    if args.only_run_types is not None:
        Tester.set_only_run_types(set(args.only_run_types.split(",")))

    function_list = []  #Store the data for the pool runner
    test_name_list = []
    ready_to_run = []
    function_postreq = {
    }  #If this is non-empty for a key, enable the postreq's
    name_to_id = {}

    for test_dir, test_file in test_list:
        #print(test_file)
        tree = trees.TreeStructure.getpot_to_input_node(open(test_file, 'r'))
        for node in tree: