Skip to content

Generation test test_clean_oseir fails after ubuntu/compiler upgrade #1261

@HenrZu

Description

@HenrZu

Bug description

We are now using ubuntu 24.04 and clang 18 for the generation code.

Version

Github (CI, Actions, etc.)

To reproduce

rm the skip patch from the test. Error output was

 ======================================================================
FAIL: test_clean_oseir (test_oseir_generation.TestOseirGeneration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/memilio/memilio/pycode/memilio-generation/memilio/generation_test/test_oseir_generation.py", line 93, in test_clean_oseir
    self.assertEqual(result.read(), self.expected_test_oseir_cpp)
AssertionError: '/* \[2467 chars]<FP, InfectionState, mio::Populations<FP, AgeG[553 chars]n}\n' != '/* \[2467 chars]<FP, mio::oseir::InfectionState, mio::Populati[589 chars]n}\n'
Diff is 3685 characters long. Set self.maxDiff to None to see it.

Relevant log output

Add any relevant information, e.g. used compiler, screenshots.

Checklist

  • Attached labels, especially loc:: or model:: labels.
  • Linked to project

Metadata

Metadata

Labels

class::bugBugs found in the software

Type

Projects

Status

Done (Total)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions