]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
benchtests: Adjust valid and accepted properties
authorVictor Rodriguez <victor.rodriguez.bahena@intel.com>
Tue, 28 Nov 2017 14:19:59 +0000 (19:49 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 28 Nov 2017 14:19:59 +0000 (19:49 +0530)
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>
ChangeLog
benchtests/scripts/benchout.schema.json

index 20423596a5939af2220b0c7fb41ef71f54665979..21fd04ab2176f584e36e8b2aaf7ae91b9e505cab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
index affb7c11f492457728323f0695300b98f9d81714..dfc00b14757c23dd828ee39358dd6550b957dbe7 100644 (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
             }
           },