Skip to content

1.10: Fixed tests for builds without GPL SuiteSparse#698

Open
stemann wants to merge 2 commits intoJuliaSparse:release-1.10from
stemann:feature/fix-non-gpl-tests
Open

1.10: Fixed tests for builds without GPL SuiteSparse#698
stemann wants to merge 2 commits intoJuliaSparse:release-1.10from
stemann:feature/fix-non-gpl-tests

Conversation

@stemann
Copy link
Copy Markdown

@stemann stemann commented Apr 13, 2026

GPL-dependent test imports are gated on Base.USE_GPL_LIBS so the test suite no longer references solver bindings that are unavailable in non-GPL builds.

The non-GPL factorization tests fall back to ordinary sparse LU and QR paths, which need mutable SparseMatrixCSC inputs rather than fixed-structure matrices. FixedSparseCSC therefore gains the copy and conversion behavior needed for sparse(a) to produce a normal SparseMatrixCSC and keep those fallback test paths working.

GPL-dependent test imports are gated on Base.USE_GPL_LIBS so the test suite no longer references solver bindings that are unavailable in non-GPL builds.

The non-GPL factorization tests fall back to ordinary sparse LU and QR paths, which need mutable SparseMatrixCSC inputs rather than fixed-structure matrices. FixedSparseCSC therefore gains the copy and conversion behavior needed for sparse(a) to produce a normal SparseMatrixCSC and keep those fallback test paths working.
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.64%. Comparing base (248d9f9) to head (13b2f1b).
⚠️ Report is 2 commits behind head on release-1.10.

Additional details and impacted files
@@              Coverage Diff              @@
##           release-1.10     #698   +/-   ##
=============================================
  Coverage         92.64%   92.64%           
=============================================
  Files                12       12           
  Lines              7678     7687    +9     
=============================================
+ Hits               7113     7122    +9     
  Misses              565      565           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@stemann stemann force-pushed the feature/fix-non-gpl-tests branch from 8266a34 to 6591807 Compare April 13, 2026 12:51
@stemann stemann force-pushed the feature/fix-non-gpl-tests branch from 6591807 to 13b2f1b Compare April 13, 2026 12:52
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.

1 participant