Skip to content

Commit 10cd0e7

Browse files
authored
[flang][docs] Update flang documentation regarding the test suite (#80755)
Remove redundant reference to flang not being able to generate code. Add a reference to the gfortran tests that are part of the LLVM Test Suite.
1 parent fb6ef42 commit 10cd0e7

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

flang/docs/FortranLLVMTestSuite.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ first-time users read through [LLVM Test Suite
1212
Guide](https://llvm.org/docs/TestSuiteGuide.html) which describes the
1313
organizational structure of the test suite and how to run it.
1414

15-
Although the Flang driver is unable to generate code at this time, we
16-
are neverthelesss incrementally adding Fortran tests into the LLVM
17-
Test Suite. We are currently testing against GFortran while we make
18-
progress towards completing the new Flang driver with full
19-
code-generation capabilities.
20-
2115
## Running the LLVM test-suite with Fortran
2216

2317
Fortran support can be enabled by setting the following CMake variables:
@@ -63,3 +57,12 @@ cmake -G "Ninja" -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ \
6357
-DTEST_SUITE_FORTRAN:STRING=ON \
6458
-DTEST_SUITE_SPEC2017_ROOT=<path to SPEC directory> ..
6559
```
60+
61+
## Running the gfortran tests
62+
63+
Tests from the gfortran test suite have been imported into the LLVM Test Suite.
64+
The tests will be run automatically if the test suite is built following the
65+
instructions described [above](#running-the-LLVM-test-suite-with-fortran).
66+
There are additional configure-time options that can be used with the gfortran
67+
tests. More details about those options and their purpose can be found in
68+
[`Fortran/gfortran/README.md`](https://github.com/llvm/llvm-test-suite/tree/main/Fortran/gfortran/README.md)`.

0 commit comments

Comments
 (0)