Alan-Jowett / bpf_conformance

Measures the conformance of a BPF runtime to the ISA.
Other
27 stars 14 forks source link

Strip whitespace before comparing returned strings #306

Closed Alan-Jowett closed 2 months ago

Alan-Jowett commented 2 months ago

This pull request includes a change to the bpf_conformance_options function in src/bpf_conformance.cc to improve the handling of return values. The most important change is the addition of a step to strip any trailing whitespace from the return value string.

Improvements to return value handling:

coveralls commented 2 months ago

Coverage Status

coverage: 95.276% (+0.2%) from 95.082% when pulling 6918736dc9f044a78cd24cc4c42144472645d499 on fix_whitespace_handling into 28effb52b01e77880770cef79efa2c7855499bb6 on main.