summaryrefslogtreecommitdiff
path: root/runner/resultgen.h
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2018-10-23 15:20:23 +0300
committerPetri Latvala <petri.latvala@intel.com>2018-11-06 11:52:46 +0200
commit6d19a3b4bddb4d8716cf6b763ee784ba9bc9f440 (patch)
treeaa1adf07df6a386da5a3849336b41fd346d2ef16 /runner/resultgen.h
parent737241d621cc1a7ff6ae4278bde234439ab61799 (diff)
runner/resultgen: Split json generation and file writing
This allows testing to skip the file writing. Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'runner/resultgen.h')
-rw-r--r--runner/resultgen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runner/resultgen.h b/runner/resultgen.h
index 83a0876b..ab0bf108 100644
--- a/runner/resultgen.h
+++ b/runner/resultgen.h
@@ -6,4 +6,6 @@
bool generate_results(int dirfd);
bool generate_results_path(char *resultspath);
+struct json_object *generate_results_json(int dirfd);
+
#endif