File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Fortran/UnitTests/fcvs21_f95 Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,16 @@ cmake_minimum_required(VERSION 3.13.4)
2
2
3
3
include (CheckSymbolExists )
4
4
5
- option (TEST_SUITE_FORTRAN "Enable Fortran test suite" OFF )
6
5
7
6
project (test -suite C CXX )
8
7
8
+ if (${TEST_SUITE_SUBDIRS} MATCHES "Fortran" )
9
+ set (TEST_SUITE_FORTRAN_default ON )
10
+ else ()
11
+ set (TEST_SUITE_FORTRAN_default OFF )
12
+ endif ()
13
+ option (TEST_SUITE_FORTRAN "Enable Fortran test suite" ${TEST_SUITE_FORTRAN_default} )
14
+
9
15
if (TEST_SUITE_FORTRAN )
10
16
enable_language (Fortran )
11
17
endif ()
Original file line number Diff line number Diff line change 33
33
# explicit acknowledgement of what has been changed. Please
34
34
# amend README file if you modify the tests.
35
35
36
+ include (CheckFortranCompilerFlag )
37
+
36
38
# clean-up fort.* files otherwise one of the tests will fail
37
39
llvm_test_prepare (rm -f %S/fort.* )
38
40
You can’t perform that action at this time.
0 commit comments