Test failures due to platform-specific native code and output format changes

Resolved 💬 2 comments Opened Dec 4, 2025 by aviatesk Closed Dec 4, 2025

Summary

Several tests are failing due to:

  1. Platform-specific assembly instructions (ARM64 vs x86-64)
  2. Changes in callsite display format

Test Failures

1. Native code instruction check (test_terminal.jl:166)

Problem: Test expects retq (x86-64) but ARM64 uses ret

@test occursin("retq", text)  # Fails on ARM64

Actual output on ARM64:

.section __TEXT,__text,regular,pure_instructions
...
ret

Suggested fix: Use platform-agnostic check:

@test occursin(r"ret[q]?", text)  # or check for "ret" at word boundary

2. Callsite display format (test_terminal.jl:217)

Problem: Test expects call → format but actual output uses dynamic format

Expected:

%3 = call → fmulti(::Any)::Union{Float32, Int64}

Actual:

%3 = dynamic (%1)(%2)::Union{Float32, Int64}

3. Provider log pattern mismatch (test_provider.jl:66-67)

Problem: Expected log warnings don't match actual captured logs. The number of "Remarks could not be retrieved" warnings differs from expected impl_warnings pattern.

Environment

  • Julia: 1.12
  • Platform: macOS (ARM64/Apple Silicon)
  • Cthulhu: master branch

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗