aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-21 15:22:44 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-21 15:25:33 +0800
commit3e443dff14a2be02b914e66f27b549d0ed4cc600 (patch)
tree704edf5368e322ca0c723425714ef4ddbf562d1c /tests
parent642ccf1b4f905d779b33b224ace16c3c0abf25a1 (diff)
Add licence header according to OPNFV contribution guidelines[1] by script[2]
[1]: https://wiki.opnfv.org/display/DEV/Contribution+Guidelines [2]: https://github.com/Justin-chi/Lab/blob/master/add_license.sh Change-Id: I5b77394a104857bb4ee9addbe973ed239b7a59f3 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests')
-rw-r--r--tests/data/benchmarks/QPI/compute.yaml8
-rw-r--r--tests/data/benchmarks/QPI/fake_qpi.yaml8
-rw-r--r--tests/data/benchmarks/metric/dhrystone.yaml8
-rw-r--r--tests/data/benchmarks/metric/dpi.yaml8
-rw-r--r--tests/data/benchmarks/metric/fake-metric.yaml8
-rw-r--r--tests/data/benchmarks/metric/ramspeed.yaml8
-rw-r--r--tests/data/benchmarks/metric/ssl.yaml8
-rw-r--r--tests/data/benchmarks/metric/whetstone.yaml8
-rw-r--r--tests/data/benchmarks/plan/doctor.yaml8
-rw-r--r--tests/data/yaml/invalid.yaml8
-rw-r--r--tests/data/yaml/with_name.yaml8
-rw-r--r--tests/data/yaml/without_name.yaml8
12 files changed, 96 insertions, 0 deletions
diff --git a/tests/data/benchmarks/QPI/compute.yaml b/tests/data/benchmarks/QPI/compute.yaml
index e28efaf9..78a2d324 100644
--- a/tests/data/benchmarks/QPI/compute.yaml
+++ b/tests/data/benchmarks/QPI/compute.yaml
@@ -1,3 +1,11 @@
+##############################################################################
+# 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
diff --git a/tests/data/benchmarks/QPI/fake_qpi.yaml b/tests/data/benchmarks/QPI/fake_qpi.yaml
index aa1097f4..4b34a495 100644
--- a/tests/data/benchmarks/QPI/fake_qpi.yaml
+++ b/tests/data/benchmarks/QPI/fake_qpi.yaml
@@ -1,3 +1,11 @@
+##############################################################################
+# 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
diff --git a/tests/data/benchmarks/metric/dhrystone.yaml b/tests/data/benchmarks/metric/dhrystone.yaml
index 220b7841..e4d26248 100644
--- a/tests/data/benchmarks/metric/dhrystone.yaml
+++ b/tests/data/benchmarks/metric/dhrystone.yaml
@@ -1,3 +1,11 @@
+##############################################################################
+# 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
+##############################################################################
name: dhrystone
description: >
A synthetic computing benchmark program intended to be representative of
diff --git a/tests/data/benchmarks/metric/dpi.yaml b/tests/data/benchmarks/metric/dpi.yaml
index fc24c8d1..c90075d2 100644
--- a/tests/data/benchmarks/metric/dpi.yaml
+++ b/tests/data/benchmarks/metric/dpi.yaml
@@ -1,3 +1,11 @@
+##############################################################################
+# 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
+##############################################################################
name: dpi
description: deep packet inspection
workloads:
diff --git a/tests/data/benchmarks/metric/fake-metric.yaml b/tests/data/benchmarks/metric/fake-metric.yaml
index c5fcc5c2..dd2875d7 100644
--- a/tests/data/benchmarks/metric/fake-metric.yaml
+++ b/tests/data/benchmarks/metric/fake-metric.yaml
@@ -1,3 +1,11 @@
+##############################################################################
+# 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
+##############################################################################
name: fake compute
description: >
a fake compute performance index which generate random result
diff --git a/tests/data/benchmarks/metric/ramspeed.yaml b/tests/data/benchmarks/metric/ramspeed.yaml
index bb7618b7..e2e2b98f 100644
--- a/tests/data/benchmarks/metric/ramspeed.yaml
+++ b/tests/data/benchmarks/metric/ramspeed.yaml
@@ -1,3 +1,11 @@
+##############################################################################
+# 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
+##############################################################################
name: ramspeed
description: a memory performance benchmarking
workloads:
diff --git a/tests/data/benchmarks/metric/ssl.yaml b/tests/data/benchmarks/metric/ssl.yaml
index 21e8add7..2b01dccd 100644
--- a/tests/data/benchmarks/metric/ssl.yaml
+++ b/tests/data/benchmarks/metric/ssl.yaml
@@ -1,3 +1,11 @@
+##############################################################################
+# 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
+##############################################################################
name: ssl
description: a Secure Sockets Layer performance benchmarking
workloads:
diff --git a/tests/data/benchmarks/metric/whetstone.yaml b/tests/data/benchmarks/metric/whetstone.yaml
index 448c9645..625ea87f 100644
--- a/tests/data/benchmarks/metric/whetstone.yaml
+++ b/tests/data/benchmarks/metric/whetstone.yaml
@@ -1,3 +1,11 @@
+##############################################################################
+# 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
+##############################################################################
name: whetstone
description: >
A synthetic benchmark for evaluating the performance of computers.
diff --git a/tests/data/benchmarks/plan/doctor.yaml b/tests/data/benchmarks/plan/doctor.yaml
index f8dcf08d..af995dac 100644
--- a/tests/data/benchmarks/plan/doctor.yaml
+++ b/tests/data/benchmarks/plan/doctor.yaml
@@ -1,3 +1,11 @@
+##############################################################################
+# 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: doctor performance profiling
description: create performance profile for OPNFV doctor notification time
info:
diff --git a/tests/data/yaml/invalid.yaml b/tests/data/yaml/invalid.yaml
index 22e31ed1..57dc7a33 100644
--- a/tests/data/yaml/invalid.yaml
+++ b/tests/data/yaml/invalid.yaml
@@ -1 +1,9 @@
+##############################################################################
+# 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
+##############################################################################
invalid - yaml \ No newline at end of file
diff --git a/tests/data/yaml/with_name.yaml b/tests/data/yaml/with_name.yaml
index 25f7f83d..0cb4fd95 100644
--- a/tests/data/yaml/with_name.yaml
+++ b/tests/data/yaml/with_name.yaml
@@ -1 +1,9 @@
+##############################################################################
+# 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: name in content \ No newline at end of file
diff --git a/tests/data/yaml/without_name.yaml b/tests/data/yaml/without_name.yaml
index bd234bd4..cbc4a1e9 100644
--- a/tests/data/yaml/without_name.yaml
+++ b/tests/data/yaml/without_name.yaml
@@ -1 +1,9 @@
+##############################################################################
+# 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
+##############################################################################
no_name: yaml file without name \ No newline at end of file