Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Do not bump depth in host functions #761

Merged
merged 1 commit into from
Mar 20, 2021
Merged

Conversation

chfast
Copy link
Collaborator

@chfast chfast commented Mar 15, 2021

Depends on #757.

This removes the test cases where host functions dump the wasm call
depth. This is still possible (two cases doing that remain) but not
recommended implementation.

The remaining two cases should be cleaned up and moved to execute_call_depth_test.

@chfast chfast requested review from gumb0 and axic March 15, 2021 13:55
@codecov
Copy link

codecov bot commented Mar 15, 2021

Codecov Report

Merging #761 (00c1ae9) into master (b7d6de4) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #761   +/-   ##
=======================================
  Coverage   99.26%   99.26%           
=======================================
  Files          77       77           
  Lines       11718    11718           
=======================================
  Hits        11632    11632           
  Misses         86       86           
Flag Coverage Δ
rust 99.86% <ø> (ø)
spectests 90.55% <ø> (ø)
unittests 99.22% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
test/unittests/execute_call_depth_test.cpp 100.00% <100.00%> (ø)

@chfast chfast force-pushed the depth_tests branch 5 times, most recently from 1e28bba to 913da5e Compare March 17, 2021 11:29
@chfast chfast marked this pull request as ready for review March 18, 2021 18:58
Base automatically changed from depth_tests to master March 19, 2021 18:59
This removes the test cases where host functions dump the wasm call
depth. This is still possible (two cases doing that remain) but not
recommended implementation.
@chfast chfast merged commit bd76ee3 into master Mar 20, 2021
@chfast chfast deleted the depth_improvements_v2 branch March 20, 2021 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants