1%YAML 1.2
2--- |
3  <%
4  import json
5  out_configs = []
6  for name, args in configs.iteritems():
7    config_args={}
8    config_args['config'] = name
9    if args.get('valgrind', None) is not None:
10      config_args['tool_prefix'] = ['valgrind'] + args.valgrind.split(' ')
11    if args.get('timeout_multiplier', 1) != 1:
12      config_args['timeout_multiplier'] = args.timeout_multiplier
13    if args.get('test_environ', None) is not None:
14      config_args['environ'] = args.test_environ
15    out_configs.append(config_args)
16  %>\
17  ${json.dumps(out_configs, sort_keys=True, indent=2)}
18