def run_suite(case, config, summary):
m = _load_case_module(case, config)<EOL>result = m.run(case, config)<EOL>summary[case] = _summarize_result(m, result)<EOL>_print_summary(m, case, summary)<EOL>if result['<STR_LIT>'] == '<STR_LIT>':<EOL><INDENT>for name, page in six.iteritems(result['<STR_LIT>']):<EOL><INDENT>functions.create_page_from_template("<STR_LIT>",<EOL>os.path.join(livvkit.index_dir, "<STR_LIT>", name + "<STR_LIT>"))<EOL>functions.write_json(page, os.path.join(livvkit.output_dir, "<STR_LIT>"), name + "<STR_LIT>")<EOL><DEDENT><DEDENT>else:<EOL><INDENT>functions.create_page_from_template("<STR_LIT>",<EOL>os.path.join(livvkit.index_dir, "<STR_LIT>", case + "<STR_LIT>"))<EOL>functions.write_json(result, os.path.join(livvkit.output_dir, "<STR_LIT>"), case + "<STR_LIT>")<EOL><DEDENT>
Run the full suite of validation tests