From cddfdeddcc97872f928d8d1cbdcbc13e7f07c99f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 22 Jan 2019 19:18:33 +0100 Subject: add custom target option the custom target definitions must be a valid python script exporting a global dictionary "targets". --- src/mysql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mysql.py') diff --git a/src/mysql.py b/src/mysql.py index 6d19a97..f9b75e2 100644 --- a/src/mysql.py +++ b/src/mysql.py @@ -10,7 +10,7 @@ from subprocess import PIPE from time import sleep from src.benchmark import Benchmark -from src.common_targets import common_targets +from src.targets import targets cwd = os.getcwd() @@ -30,7 +30,7 @@ class Benchmark_MYSQL( Benchmark ): self.descrition = """See sysbench documentation.""" # mysqld fails with hoard somehow - self.targets = copy.copy(common_targets) + self.targets = copy.copy(targets) if "hoard" in self.targets: del(self.targets["hoard"]) -- cgit v1.2.3