Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Coverage report not showing for futures with exceptions

    Squish
    1
    1
    127
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BigHands last edited by

      We're hitting an issue where the code coverage report is incorrectly showing a line has not been executed. Here's a picture of the source report:

      68d38289-9a5d-45cb-a4d8-e541c02269bb-image.png

      (ready_future_ has the type boost::shared_future<void>)

      The conditional on line 74 is executed for both true and false, but you'll notice that the "boost::rethrow_exception" line is showing as not executed when in fact it actually is.

      Any thoughts or next steps we can try?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post