[PATCH i-g-t 00/28] runner goes brrrrr

Petri Latvala petri.latvala at intel.com
Mon Mar 22 11:33:52 UTC 2021


Reworked comms

Petri Latvala (28):
  runner goes brrrrr
  comms unit test
  No level in log
  Actually handle socketfd, and correctly sprintf the env
  Logs to comms
  Versionstr as packet
  Allow disabling socket comms
  Test exit to comms.txt
  Disable socket comms for unittests that parse non-socket data
  Fix size of EXEC
  resultgen close to done
  PRI stuff needs inttypes.h
  igt_comms_decoder for helping with debugging
  cleanup typedefs
  State machine goes brr
  get gettid from igt_aux
  socket.h missing
  Remember to implement PACKETTYPE_RESULT_OVERRIDE
  Unit test normal creation for all packet types
  Pass skip prints to runner too
  damnit docs
  docs begin with /**
  gtkdoc doesn't handle union as return type, use typedef
  Remove union elsewhere too then
  autotools
  Remember to track subtest starts for per-test-timeout
  full drain of socketfd
  sigsafe logging and static asserts for sizes and offsets

 lib/Makefile.sources                |   2 +
 lib/igt_core.c                      | 177 +++++--
 lib/meson.build                     |   1 +
 lib/runnercomms.c                   | 507 ++++++++++++++++++++
 lib/runnercomms.h                   | 244 ++++++++++
 lib/tests/igt_runnercomms_packets.c | 281 +++++++++++
 lib/tests/meson.build               |   1 +
 runner/decoder.c                    | 157 +++++++
 runner/executor.c                   | 270 +++++++++--
 runner/executor.h                   |   1 +
 runner/meson.build                  |   8 +
 runner/resultgen.c                  | 705 +++++++++++++++++++++++++++-
 runner/runner_tests.c               |   3 +
 13 files changed, 2274 insertions(+), 83 deletions(-)
 create mode 100644 lib/runnercomms.c
 create mode 100644 lib/runnercomms.h
 create mode 100644 lib/tests/igt_runnercomms_packets.c
 create mode 100644 runner/decoder.c

-- 
2.29.2



More information about the Intel-gfx-trybot mailing list