Branch: refs/heads/main
Revision: 5f07978bb17ef7faf0c9e9c7146d03ad4fd91d76
Author: jabraham17
Link: Fix c2chapel on MacOS by jabraham17 · Pull Request #26881 · chapel-lang/chapel · GitHub
Log Message:
Fix c2chapel on MacOS (#26881)
Fixes an issue where extra arguments were not being properly passed to
the preprocessor for c2chapel. This is done by removing the dummy
cppFlags, instead solely relying on parse_known_args
.
This PR also cleans up the testing for c2chapel
Resolves [Bug]: c2chapel tests fail on MacOS · Issue #26831 · chapel-lang/chapel · GitHub
-
start_test test/c2chapel
on MacOS with Python 3.13 -
start_test test/c2chapel
on Linux64 with Python.10 -
start_test test/c2chapel
on Linux64 with Python.13 cd tools/c2chapel/test && ./tester.sh
on MacOS- python 3.9
- python 3.10
- python 3.11
- python 3.12
- python 3.13
cd tools/c2chapel/test && ./tester.sh
on Linux64- python 3.10
- python 3.13
[Reviewed by @benharsh]
Diff:
M tools/c2chapel/c2chapel.py
D tools/c2chapel/test/help.2.good
M tools/c2chapel/test/help.good
D tools/c2chapel/test/no-args.2.good
D tools/c2chapel/test/no-args.3.good
M tools/c2chapel/test/no-args.good
M tools/c2chapel/test/tester.sh
https://github.com/chapel-lang/chapel/pull/26881.diff