summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.c
diff options
context:
space:
mode:
authorArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-09-09 10:55:14 +0300
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-09-09 13:12:00 +0300
commit1380f3ae56689ae5b8512e564d04e187af9cb60a (patch)
treecca0f36455c6041491b430b39eb73fc63c104c30 /lib/intel_batchbuffer.c
parent93f9f35554b0152cb5648b4671407511d760b5f8 (diff)
.gitlab-ci: Fix listing undocumented subtests
Looking at this code: description = "" current_subtest = None for line in proc.stdout.decode().splitlines(): if line.startswith("SUB "): output += [Subtest(current_subtest, description)] So if there is no documentation on the top level we will get subtest == None and description == "". Let's check for those properly so we won't falsely flag the whole binary. Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions