summaryrefslogtreecommitdiff
path: root/runner/resultgen.c
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2018-12-05 14:53:43 +0200
committerPetri Latvala <petri.latvala@intel.com>2018-12-12 12:49:29 +0200
commit2c793666d8c8328733f5769b16ae5858fee97f3f (patch)
tree0cbbed942647aa24fdea93d0b3570a02df416606 /runner/resultgen.c
parentf81cdf9d3a475b6135c0951d1c7169f226164baf (diff)
runner: Produce json with results_version=10
New piglit bumped its results_version to 10, making glxinfo and pals optional in practice, not just by accident. Unfortunately reading results with newer piglit attempts to convert the results to version 10, reading glxinfo and pals, and thus fails. In a hilarious summary: A commit to piglit making glxinfo optional makes it mandatory for us. v2: json unit tests confirmed to be working... Reported-by: Andi Shyti <andi.shyti@intel.com> Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Cc: Andi Shyti <andi.shyti@intel.com> Tested-by: Andi Shyti <andi.shyti@intel.com> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'runner/resultgen.c')
-rw-r--r--runner/resultgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runner/resultgen.c b/runner/resultgen.c
index 659b5e62..a1a91cd0 100644
--- a/runner/resultgen.c
+++ b/runner/resultgen.c
@@ -1069,7 +1069,7 @@ struct json_object *generate_results_json(int dirfd)
obj = json_object_new_object();
json_object_object_add(obj, "__type__", json_object_new_string("TestrunResult"));
- json_object_object_add(obj, "results_version", json_object_new_int(9));
+ json_object_object_add(obj, "results_version", json_object_new_int(10));
json_object_object_add(obj, "name",
settings.name ?
json_object_new_string(settings.name) :