aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/Yardstick-TC047-1471785363416
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-06-21 19:25:22 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2017-08-08 21:24:27 -0700
commit97004997c00dac2e0dcfeef303af4701e78bb909 (patch)
treead6b962b8ec15db6296ea8c636e5f23f2b1342a1 /dashboard/Yardstick-TC047-1471785363416
parent5ce3b6f8c8b3217091e51a6041455738603d90b8 (diff)
constants: cache YAML config values
don't reparse the yardstick.yaml file each time we lookup an option. Since it is global data, just cache it in a global var Use pkg_resources.resource_filename to lookup the path of yardstick tests, intsead of using __file__ pkg_resources is slightly more proper than __file__ at least for packages Change-Id: I05d9748390a37bd45c53013fc084d23069ab7c51 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'dashboard/Yardstick-TC047-1471785363416')
0 files changed, 0 insertions, 0 deletions