Skip to content

Update dead code detection tests to work with new fortfront API #9

@krystophny

Description

@krystophny

Problem

Dead code detection tests are failing because they expect certain behaviors that have changed in the latest fortfront.

Affected Tests

  • test_dead_code_detection.f90
  • Related integration tests

Issues

  1. Variable detection in conditional expressions may need adjustment
  2. Control flow graph generation has been updated in fortfront
  3. Some test expectations may no longer be valid

Solution

  • Review and update test cases to match new fortfront behavior
  • Ensure dead code detection leverages the improved control flow analysis from fortfront PR #101
  • Update test assertions to match actual capabilities

Related

This is a follow-up to fortfront issue #99 which improved dead code detection capabilities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions