You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
579 B
18 lines
579 B
%YAML 1.2
|
|
--- |
|
|
<%
|
|
import json
|
|
out_configs = []
|
|
for name, args in configs.iteritems():
|
|
config_args={}
|
|
config_args['config'] = name
|
|
if args.get('valgrind', None) is not None:
|
|
config_args['tool_prefix'] = ['valgrind'] + args.valgrind.split(' ')
|
|
if args.get('timeout_multiplier', 1) != 1:
|
|
config_args['timeout_multiplier'] = args.timeout_multiplier
|
|
if args.get('test_environ', None) is not None:
|
|
config_args['environ'] = args.test_environ
|
|
out_configs.append(config_args)
|
|
%>\
|
|
${json.dumps(out_configs, sort_keys=True, indent=2)}
|