benchtests: Adjust valid and accepted properties

Benchmark workload-spec2006.wrf does not produce max, min or mean
results but instead produce throughput. This is represented in
benchtests/bench-skeleton.c. This patch adjust benchout.schema.json to consider
bench.out from bench-math benchmarks as valid

ChangeLog:

	* benchtests/scripts/benchout.schema.json: Add throughput as accepted
	result from property and remove "max", min" and "mean" from required
	properties based on benchtests/bench-skeleton.c.

Signed-off-by: Victor Rodriguez <victor.rodriguez.bahena@intel.com>
Reviewed-By: Siddhesh Poyarekar <siddhesh@sourceware.org>
This commit is contained in:
Victor Rodriguez 2017-11-28 19:49:59 +05:30 committed by Siddhesh Poyarekar
parent b4c645c2f5
commit 0595e36034
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
* benchtests/scripts/benchout.schema.json: Add throughput as accepted
result from property and remove "max", min" and "mean" from
required properties based on benchtests/bench-skeleton.c.
2017-11-28 Florian Weimer <fweimer@redhat.com>
[BZ #20826]

View File

@ -19,6 +19,7 @@
"properties": {
"duration": {"type": "number"},
"iterations": {"type": "number"},
"throughput": {"type": "number"},
"max": {"type": "number"},
"min": {"type": "number"},
"mean": {"type": "number"},
@ -27,7 +28,7 @@
"items": {"type": "number"}
}
},
"required": ["duration", "iterations", "max", "min", "mean"],
"required": ["duration", "iterations"],
"additionalProperties": false
}
},