From f0ecce090026da3ede406289d139d1de08674134 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Wed, 30 Aug 2017 14:54:04 +0800 Subject: Keep tests/data consistent with repository structure - rename `benchmarks` in `tests/data` to `resources` - delete obsoleted contents JIRA: QTIP-258 Change-Id: I7f4ec1a1fc7b355922c7aee76851e7f0dd026f72 Signed-off-by: Yujun Zhang --- tests/data/resources/QPI/compute.yaml | 37 ++++++++++++++++++++++++++++++++++ tests/data/resources/QPI/fake_qpi.yaml | 17 ++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 tests/data/resources/QPI/compute.yaml create mode 100644 tests/data/resources/QPI/fake_qpi.yaml (limited to 'tests/data/resources') diff --git a/tests/data/resources/QPI/compute.yaml b/tests/data/resources/QPI/compute.yaml new file mode 100644 index 00000000..78a2d324 --- /dev/null +++ b/tests/data/resources/QPI/compute.yaml @@ -0,0 +1,37 @@ +############################################################################## +# Copyright (c) 2016 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +title: compute +description: sample performance index of computing +formula: weighted arithmetic mean +sections: +- name: Integer + weight: 0.3 + formula: geometric mean + metrics: + - dhrystone.yaml +- name: Float + weight: 0.3 + formula: geometric mean + metrics: + - whetstone.yaml +- name: Memory + weight: 0.2 + formula: geometric mean + metrics: + - ramspeed.yaml +- name: DPI + weight: 0.1 + formula: geometric mean + metrics: + - dpi.yaml +- name: SSL + weight: 0.1 + formula: geometric mean + metrics: + - ssl.yaml diff --git a/tests/data/resources/QPI/fake_qpi.yaml b/tests/data/resources/QPI/fake_qpi.yaml new file mode 100644 index 00000000..4b34a495 --- /dev/null +++ b/tests/data/resources/QPI/fake_qpi.yaml @@ -0,0 +1,17 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +name: Fake QPI +description: a fake QPI producing random result +formula: weighted arithmetic mean +sections: +- name: Fake Section + weight: 0.5 + formula: geometric mean + metrics: + - fake-metric.yaml -- cgit 1.2.3-korg