3 # Benchmarks for testing the selection of dependency changed functions
4 # in src/engine/Environment.py.
7 def use_a_dict(env
, dep
, arg
):
18 def use_if_tests(env
, dep
, arg
):
29 raise Exception("bad key %s" % t
)
34 def __init__(self
, t
):
54 for i
in IterationList
:
55 use_a_dict(env
, node
, None)
60 for i
in IterationList
:
61 use_if_tests(env
, node
, None)
65 # Data to pass to the functions on each run. Each entry is a
66 # three-element tuple:
69 # "Label to print describing this data run",
70 # ('positional', 'arguments'),
71 # {'keyword' : 'arguments'},
102 # indent-tabs-mode:nil
104 # vim: set expandtab tabstop=4 shiftwidth=4: