MozillaSecurity / lithium

Line-based testcase reducer
Mozilla Public License 2.0
94 stars 25 forks source link

Make timed_run accept environment variables to be added #68

Closed nth10sd closed 6 years ago

nth10sd commented 6 years ago

This makes timed_run accept environment variables to be added to the current environment when the subprocess command is executed. A bunch of linter errors are fixed too.

This is a prerequisite to getting code coverage support in the funfuzz harness.

codecov-io commented 6 years ago

Codecov Report

Merging #68 into master will increase coverage by 1.59%. The diff coverage is 64%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
+ Coverage   85.26%   86.85%   +1.59%     
==========================================
  Files          13       13              
  Lines        1798     1796       -2     
==========================================
+ Hits         1533     1560      +27     
+ Misses        265      236      -29
Impacted Files Coverage Δ
src/lithium/interestingness/timed_run.py 78.21% <64%> (+5.4%) :arrow_up:
src/lithium/interestingness/utils.py 80.85% <0%> (+24.46%) :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 eda41d3...5bafee5. Read the comment docs.