Skip to content

Commit 5437f2e

Browse files
committed
[flang][nfc] Remove flang-new-driver from LIT
After merging https://reviews.llvm.org/D105811, `flang-new-driver` is no longer required. Differential Revision: https://reviews.llvm.org/D107990
1 parent 60e07a9 commit 5437f2e

23 files changed

+1
-39
lines changed

flang/test/Driver/code-gen.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
! rejected earlier).
66
! TODO: Replace this file with a proper test once code-generation is available.
77

8-
! REQUIRES: new-flang-driver
9-
108
!-----------
119
! RUN LINES
1210
!-----------

flang/test/Driver/driver-error-cc1.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// C files are currently not supported (i.e. `flang -cc1`). Make sure that the
22
// driver reports this as expected.
33

4-
// REQUIRES: new-flang-driver
5-
64
//-----------
75
// RUN LINES
86
//-----------

flang/test/Driver/driver-error-cc1.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// C++ files are currently not supported (i.e. `flang -cc1`). Make sure that the
22
// driver reports this as expected.
33

4-
// REQUIRES: new-flang-driver
5-
64
//-----------
75
// RUN LINES
86
//-----------

flang/test/Driver/driver-help-hidden.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
! REQUIRES: new-flang-driver
21

32
!--------------------------
43
! FLANG DRIVER (flang-new)

flang/test/Driver/driver-help.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
! REQUIRES: new-flang-driver
21

32
!--------------------------
43
! FLANG DRIVER (flang)

flang/test/Driver/driver-version.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
! REQUIRES: new-flang-driver
21

32
!-----------
43
! RUN LINES

flang/test/Driver/dump-all.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
! REQUIRES: new-flang-driver
21

32
!----------
43
! RUN lines

flang/test/Driver/fixed-line-length.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
! Ensure argument -ffixed-line-length=n works as expected.
22

3-
! REQUIRES: new-flang-driver
4-
53
!--------------------------
64
! FLANG DRIVER (flang)
75
!--------------------------

flang/test/Driver/frontend-forwarding.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
! Test that flang-new forwards Flang frontend
22
! options to flang-new -fc1 as expected.
33

4-
! REQUIRES: new-flang-driver
5-
64
! RUN: %flang -fsyntax-only -### %s -o %t 2>&1 \
75
! RUN: -finput-charset=utf-8 \
86
! RUN: -fdefault-double-8 \

flang/test/Driver/init-only.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
! Verify that -init-only flag generates a diagnostic as expected
22

3-
! REQUIRES: new-flang-driver
4-
53
! RUN: %flang_fc1 -init-only 2>&1 | FileCheck %s
64

75
! CHECK: warning: Use `-init-only` for testing purposes only

flang/test/Driver/input-from-stdin.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
! Verify that reading from stdin works as expected
22

3-
! REQUIRES: new-flang-driver
4-
53
!--------------------------
64
! FLANG DRIVER (flang)
75
!--------------------------

flang/test/Driver/macro-multiline.F90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
! Ensure the end-of-line character and anything that follows after in a macro definition (-D) is ignored.
22

3-
! REQUIRES: new-flang-driver
4-
53
!--------------------------
64
! FLANG DRIVER (flang)
75
!--------------------------

flang/test/Driver/missing-arg.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
! Make sure that frontend driver options that require arguments are
22
! correctly rejected when the argument value is missing.
33

4-
! REQUIRES: new-flang-driver
5-
64
!-----------
75
! RUN lines
86
!-----------

flang/test/Driver/missing-input.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
! (compile? preprocess? link?). The frontend driver (flang-new -fc1) simply
66
! assumes that "no explicit input == read from stdin"
77

8-
! REQUIRES: new-flang-driver
9-
108
!--------------------------
119
! FLANG DRIVER (flang-new)
1210
!--------------------------

flang/test/Driver/phases.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
! This test verifies the phase control in Flang compiler driver.
22

3-
! REQUIRES: new-flang-driver
4-
53
!-----------
64
! RUN LINES
75
!-----------

flang/test/Driver/plugin-example.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
! Also check that when a plugin name isn't found, the error diagnostic is correct
33
! This requires that the examples are built (FLANG_BUILD_EXAMPLES=ON)
44

5-
! REQUIRES: new-flang-driver, plugins, examples, shell
5+
! REQUIRES: plugins, examples, shell
66

77
! RUN: %flang_fc1 -load %llvmshlibdir/flangHelloWorldPlugin%pluginext -plugin -hello-world %s 2>&1 | FileCheck %s
88
! CHECK: Hello World from your new Flang plugin

flang/test/Driver/std2018-wrong.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
! REQUIRES: new-flang-driver
21
! Ensure argument -std=f2018 works as expected.
32

43
!-----------------------------------------

flang/test/Driver/syntax-only.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
! don't need to test the frontend driver here - it runs `-fsyntax-only` by
44
! default.
55

6-
! REQUIRES: new-flang-driver
7-
86
!-----------
97
! RUN LINES
108
!-----------

flang/test/Driver/use-module-error.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
! Ensure that multiple module directories are not allowed
22

3-
! REQUIRES: new-flang-driver
4-
53
!--------------------------
64
! FLANG DRIVER (flang-new)
75
!--------------------------

flang/test/Driver/werror-wrong.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
! Ensure that only argument -Werror is supported.
2-
! REQUIRES: new-flang-driver
32

43
! RUN: not %flang_fc1 -fsyntax-only -Wall %s 2>&1 | FileCheck %s --check-prefix=WRONG
54
! RUN: not %flang_fc1 -fsyntax-only -WX %s 2>&1 | FileCheck %s --check-prefix=WRONG

flang/test/Frontend/input-output-file.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
! REQUIRES: new-flang-driver
21

32
!--------------------------
43
! FLANG DRIVER (flang)

flang/test/Frontend/multiple-input-files.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
! REQUIRES: new-flang-driver
21

32
!--------------------------
43
! FLANG DRIVER (flang)

flang/test/lit.cfg.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@
4040
# directories.
4141
config.excludes = ['Inputs', 'CMakeLists.txt', 'README.txt', 'LICENSE.txt']
4242

43-
# If the new Flang driver is enabled, add the corresponding feature to
44-
# config.
45-
config.available_features.add('new-flang-driver')
46-
4743
# If the flang examples are built, add examples to the config
4844
if config.flang_examples:
4945
config.available_features.add('examples')

0 commit comments

Comments
 (0)