To enable Flang testing on Windows, shell scripts have
to be ported to Python. The following changes have been made:
"test_modfile.sh" has been ported to Python, and
the relevant tests relying on it.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
No, that's just a mistake on my end that's somehow managed to slip by me. actual_files needs to be declared in advance.
Fixed modfile09.f90 failing. Updated to use the tempfile library. Using Python-style docstrings now.
Would you like me to look at why "modfile18.f90" and "modfile20.f90" are failing?
flang/test/Semantics/test_modfile.py | ||
---|---|---|
83 |
That would be brilliant, thank you. "modfile18.f90" is also most likely related to some kind of floating-point number error, same as "modfile20.f90", but no actual cause has been established.
Would it be fine for me to disable to failing tests for now and have them re-enabled with the fix?
Updated to disable the 2 failing tests on Windows and also filed a bug report in bugzilla.
Yes, LGTM. Please edit the commit message (removes outstanding issues) when committing.