TST: Initialize f2py2e tests of the F2PY CLI#20668
Conversation
|
I tested all the Setting up special handling for |
bc5cb05 to
6fa453d
Compare
| @@ -0,0 +1,3 @@ | |||
| SUBROUTINE HI | |||
There was a problem hiding this comment.
These could probably use a renaming to hello_world77.f or some such.
There was a problem hiding this comment.
Should the other be renamed similarly? We currently have hi77.f and hiworld.f90. It'd be good to have a template name format and redo all of them at once, all the test sources are oddly named.
There was a problem hiding this comment.
all the test sources are oddly named.
Having consistent names would be nice. It isn't a priority, but feel free to do it. It is currently hard to figure out what all the tests do. What ideas do you have for a "template name format"?
There was a problem hiding this comment.
I think using the test name or after the refactor the submodule name so:
cli_hello_world.f77cli_hello_world.f90frontend_no_space(instead ofgh15035.f)
Essentially from what we have, even submodule_test_name is an upgrade.
Perhaps in a different PR though?
There was a problem hiding this comment.
I agree, avoiding names like hi and blah seems like a good idea in general. Not a blocker though.
Will those errors eventually be Python exceptions? |
|
Still some errors. |
I don't think so. These are basically written to However I have considered reworking the F2PY logging system with EDIT: Somehow one of the |
|
I'm not sure I know what's wrong with the Windows tests, some (32-bit) seem to be related to not finding |
Not sure about the 32-bit tests but running on windows confirms the problem with the slashes in the assert for outputs. |
|
This is looking good now, so let's try it - thanks @HaoZeke ! |
Increases F2PY coverage by around 15 percent. For the CLI itself it covers the major features (around 70 percent), with the exception of mostly numpy.distutils stuff. More importantly, sets the groundwork for numpy#20056, in that passing the same testsuite should indicate feature parity.
Essentially this branch: HaoZeke/f2py_skel#15
Increases F2PY coverage by around 15 percent. For the CLI itself it covers the major features (around 70 percent), with the exception of mostly
numpy.distutilsstuff.More importantly, sets the groundwork for #20056, in that passing the same testsuite should indicate feature parity.
Does not depend on the refactors.
Changes: