From e2d7d22ae7e69d30272f366034977ed5165911dd Mon Sep 17 00:00:00 2001 From: Petri Latvala Date: Tue, 23 Oct 2018 15:20:24 +0300 Subject: runner: Unit tests for json generation Test the results.json generation with a top-down approach: With a directory of test run intermediary logs, check that the resulting json would match a reference json file. Signed-off-by: Petri Latvala Cc: Arkadiusz Hiler Reviewed-by: Arkadiusz Hiler --- runner/json_tests_data/normal-run/4/out.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 runner/json_tests_data/normal-run/4/out.txt (limited to 'runner/json_tests_data/normal-run/4/out.txt') diff --git a/runner/json_tests_data/normal-run/4/out.txt b/runner/json_tests_data/normal-run/4/out.txt new file mode 100644 index 00000000..2024db8f --- /dev/null +++ b/runner/json_tests_data/normal-run/4/out.txt @@ -0,0 +1,6 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Test requirement not met in function __real_main3, file ../runner/testdata/skippers.c:6: +Test requirement: false +Skipping from fixture +Last errno: 2, No such file or directory +Subtest skip-two: SKIP -- cgit v1.2.3