p4lang / p4c-bm

Generates the JSON configuration for the behavioral-model (bmv2), as well as the C/C++ PD code
Apache License 2.0
24 stars 29 forks source link

Do not assert if FL calculation has multiple inputs #94

Closed antoninbas closed 6 years ago

antoninbas commented 6 years ago

Instead print a warning and statically select the first possible input in the list.

codecov-io commented 6 years ago

Codecov Report

Merging #94 into master will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
+ Coverage   97.09%   97.09%   +<.01%     
==========================================
  Files          10       10              
  Lines        1686     1688       +2     
==========================================
+ Hits         1637     1639       +2     
  Misses         49       49
Impacted Files Coverage Δ
p4c_bm/gen_json.py 98.04% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e6d6146...99c81e6. Read the comment docs.