diff options
| author | Rohit Goswami <rgoswami@quansight.com> | 2022-04-01 13:05:46 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-01 10:05:46 -0300 |
| commit | 729ad4f92420231e2a7009b3223c6c7620b8b808 (patch) | |
| tree | 2cb658f150f2e5ffc3dfbe1e48c8564800b363f3 /numpy/f2py/tests/src/cli | |
| parent | 3f9fada45852a8f1b3fd9e0b760f34425099896c (diff) | |
| download | numpy-729ad4f92420231e2a7009b3223c6c7620b8b808.tar.gz | |
TST: Initialize f2py2e tests of the F2PY CLI (#20668)
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 #20056, in that passing the same testsuite should indicate feature parity.
Diffstat (limited to 'numpy/f2py/tests/src/cli')
| -rw-r--r-- | numpy/f2py/tests/src/cli/hi77.f | 3 | ||||
| -rw-r--r-- | numpy/f2py/tests/src/cli/hiworld.f90 | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/numpy/f2py/tests/src/cli/hi77.f b/numpy/f2py/tests/src/cli/hi77.f new file mode 100644 index 000000000..8b916ebe0 --- /dev/null +++ b/numpy/f2py/tests/src/cli/hi77.f @@ -0,0 +1,3 @@ + SUBROUTINE HI + PRINT*, "HELLO WORLD" + END SUBROUTINE diff --git a/numpy/f2py/tests/src/cli/hiworld.f90 b/numpy/f2py/tests/src/cli/hiworld.f90 new file mode 100644 index 000000000..981f87754 --- /dev/null +++ b/numpy/f2py/tests/src/cli/hiworld.f90 @@ -0,0 +1,3 @@ +function hi() + print*, "Hello World" +end function |
