From 05d5ac8d6d5e9bd1e6b69afbd764000aeb4a030e Mon Sep 17 00:00:00 2001 From: Kristian Hunt Date: Tue, 13 Oct 2015 16:38:56 +0200 Subject: Extend lmbench scenario to measure memory bandwidth Lmbench scenario has now two scripts and will choose between them, based on whether the intention is to run memory latency or bandwidth tests. Added also unit test file for this scenario. JIRA: YARDSTICK-113 Change-Id: I2ba4dbef31f3cafbdb3c583ece5ed9512a906896 Signed-off-by: Kristian Hunt --- tests/functional/test_cli_scenario.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/functional') diff --git a/tests/functional/test_cli_scenario.py b/tests/functional/test_cli_scenario.py index aad475970..877973783 100755 --- a/tests/functional/test_cli_scenario.py +++ b/tests/functional/test_cli_scenario.py @@ -31,7 +31,8 @@ class ScenarioTestCase(unittest.TestCase): def test_scenario_show_Lmbench(self): res = self.yardstick("scenario show Lmbench") - lmbench = "Execute lmbench memory read latency benchmark in a host" in res + lmbench = "Execute lmbench memory read latency" + "or memory bandwidth benchmark in a host" in res self.assertTrue(lmbench) def test_scenario_show_Perf(self): -- cgit 1.2.3-korg