From 42b1161e8c45df468d1696b43a7820c3ffe29da1 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 11 Jun 2014 14:16:29 +0530 Subject: Validate bench.out against a JSON schema This patch adds a JSON schema for the benchmark output file and also adds a script that validates the generated output against the schema. --- benchtests/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'benchtests/Makefile') diff --git a/benchtests/Makefile b/benchtests/Makefile index fbcee1328b..dc9ee043d6 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -131,6 +131,8 @@ bench-func: $(binaries-bench) mv -f $(objpfx)bench.out $(objpfx)bench.out.old; \ fi; \ mv -f $(objpfx)bench.out-tmp $(objpfx)bench.out + scripts/validate_benchout.py $(objpfx)bench.out \ + scripts/benchout.schema.json $(timing-type) $(binaries-bench) $(binaries-benchset): %: %.o $(objpfx)json-lib.o \ $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \ -- cgit 1.4.1