From: Victor Rodriguez Date: Tue, 28 Nov 2017 14:19:59 +0000 (+0530) Subject: benchtests: Adjust valid and accepted properties X-Git-Tag: glibc-2.27~417 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0595e3603406e7f7b457bf9c99059bf1a48d97ef;p=thirdparty%2Fglibc.git 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 Reviewed-By: Siddhesh Poyarekar --- diff --git a/ChangeLog b/ChangeLog index 20423596a59..21fd04ab217 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-11-28 Victor Rodriguez + + * 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 [BZ #20826] diff --git a/benchtests/scripts/benchout.schema.json b/benchtests/scripts/benchout.schema.json index affb7c11f49..dfc00b14757 100644 --- a/benchtests/scripts/benchout.schema.json +++ b/benchtests/scripts/benchout.schema.json @@ -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 } },