diff options
author | Ryan Nelson <rnelsonchem@gmail.com> | 2014-12-01 09:55:15 -0500 |
---|---|---|
committer | Ryan Nelson <rnelsonchem@gmail.com> | 2014-12-01 13:50:32 -0500 |
commit | c4c2f21a784d94f2708163243dbfea846d527f77 (patch) | |
tree | 8691f5f3a69fc4895485fcee37546081df9937cd /numpy/distutils/tests/test_fcompiler_gnu.py | |
parent | 8a2dd0680e8470aab7ad63622c0d0af703f58d42 (diff) | |
download | numpy-c4c2f21a784d94f2708163243dbfea846d527f77.tar.gz |
BLD: Change Fortran version flag and string check
The version check flag for GnuFCompiler and Gnu95FCompiler were changed from
`--version` to `-dumpversion`. This simplifies the gnu_version_match code for
gfortran, and makes it possible to drop much of the check code for g77 as
well. This fix addresses issue #5315 and #5321.
Diffstat (limited to 'numpy/distutils/tests/test_fcompiler_gnu.py')
-rw-r--r-- | numpy/distutils/tests/test_fcompiler_gnu.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/numpy/distutils/tests/test_fcompiler_gnu.py b/numpy/distutils/tests/test_fcompiler_gnu.py index a0d191819..ecbd85e76 100644 --- a/numpy/distutils/tests/test_fcompiler_gnu.py +++ b/numpy/distutils/tests/test_fcompiler_gnu.py @@ -14,12 +14,8 @@ g77_version_strings = [ ] gfortran_version_strings = [ - ('GNU Fortran 95 (GCC 4.0.3 20051023 (prerelease) (Debian 4.0.2-3))', - '4.0.3'), - ('GNU Fortran 95 (GCC) 4.1.0', '4.1.0'), - ('GNU Fortran 95 (GCC) 4.2.0 20060218 (experimental)', '4.2.0'), - ('GNU Fortran (GCC) 4.3.0 20070316 (experimental)', '4.3.0'), - ('GNU Fortran (rubenvb-4.8.0) 4.8.0', '4.8.0'), + ('4.8.0', '4.8.0'), + ('4.0.3-7', '4.0.3'), ] class TestG77Versions(TestCase): |