forked from OSchip/llvm-project
[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
This commit is contained in:
parent
60e07a9568
commit
5437f2e9a9
|
@ -5,8 +5,6 @@
|
|||
! rejected earlier).
|
||||
! TODO: Replace this file with a proper test once code-generation is available.
|
||||
|
||||
! REQUIRES: new-flang-driver
|
||||
|
||||
!-----------
|
||||
! RUN LINES
|
||||
!-----------
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
// C files are currently not supported (i.e. `flang -cc1`). Make sure that the
|
||||
// driver reports this as expected.
|
||||
|
||||
// REQUIRES: new-flang-driver
|
||||
|
||||
//-----------
|
||||
// RUN LINES
|
||||
//-----------
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
// C++ files are currently not supported (i.e. `flang -cc1`). Make sure that the
|
||||
// driver reports this as expected.
|
||||
|
||||
// REQUIRES: new-flang-driver
|
||||
|
||||
//-----------
|
||||
// RUN LINES
|
||||
//-----------
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
! REQUIRES: new-flang-driver
|
||||
|
||||
!--------------------------
|
||||
! FLANG DRIVER (flang-new)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
! REQUIRES: new-flang-driver
|
||||
|
||||
!--------------------------
|
||||
! FLANG DRIVER (flang)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
! REQUIRES: new-flang-driver
|
||||
|
||||
!-----------
|
||||
! RUN LINES
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
! REQUIRES: new-flang-driver
|
||||
|
||||
!----------
|
||||
! RUN lines
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
! Ensure argument -ffixed-line-length=n works as expected.
|
||||
|
||||
! REQUIRES: new-flang-driver
|
||||
|
||||
!--------------------------
|
||||
! FLANG DRIVER (flang)
|
||||
!--------------------------
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
! Test that flang-new forwards Flang frontend
|
||||
! options to flang-new -fc1 as expected.
|
||||
|
||||
! REQUIRES: new-flang-driver
|
||||
|
||||
! RUN: %flang -fsyntax-only -### %s -o %t 2>&1 \
|
||||
! RUN: -finput-charset=utf-8 \
|
||||
! RUN: -fdefault-double-8 \
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
! Verify that -init-only flag generates a diagnostic as expected
|
||||
|
||||
! REQUIRES: new-flang-driver
|
||||
|
||||
! RUN: %flang_fc1 -init-only 2>&1 | FileCheck %s
|
||||
|
||||
! CHECK: warning: Use `-init-only` for testing purposes only
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
! Verify that reading from stdin works as expected
|
||||
|
||||
! REQUIRES: new-flang-driver
|
||||
|
||||
!--------------------------
|
||||
! FLANG DRIVER (flang)
|
||||
!--------------------------
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
! Ensure the end-of-line character and anything that follows after in a macro definition (-D) is ignored.
|
||||
|
||||
! REQUIRES: new-flang-driver
|
||||
|
||||
!--------------------------
|
||||
! FLANG DRIVER (flang)
|
||||
!--------------------------
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
! Make sure that frontend driver options that require arguments are
|
||||
! correctly rejected when the argument value is missing.
|
||||
|
||||
! REQUIRES: new-flang-driver
|
||||
|
||||
!-----------
|
||||
! RUN lines
|
||||
!-----------
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
! (compile? preprocess? link?). The frontend driver (flang-new -fc1) simply
|
||||
! assumes that "no explicit input == read from stdin"
|
||||
|
||||
! REQUIRES: new-flang-driver
|
||||
|
||||
!--------------------------
|
||||
! FLANG DRIVER (flang-new)
|
||||
!--------------------------
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
! This test verifies the phase control in Flang compiler driver.
|
||||
|
||||
! REQUIRES: new-flang-driver
|
||||
|
||||
!-----------
|
||||
! RUN LINES
|
||||
!-----------
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
! Also check that when a plugin name isn't found, the error diagnostic is correct
|
||||
! This requires that the examples are built (FLANG_BUILD_EXAMPLES=ON)
|
||||
|
||||
! REQUIRES: new-flang-driver, plugins, examples, shell
|
||||
! REQUIRES: plugins, examples, shell
|
||||
|
||||
! RUN: %flang_fc1 -load %llvmshlibdir/flangHelloWorldPlugin%pluginext -plugin -hello-world %s 2>&1 | FileCheck %s
|
||||
! CHECK: Hello World from your new Flang plugin
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
! REQUIRES: new-flang-driver
|
||||
! Ensure argument -std=f2018 works as expected.
|
||||
|
||||
!-----------------------------------------
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
! don't need to test the frontend driver here - it runs `-fsyntax-only` by
|
||||
! default.
|
||||
|
||||
! REQUIRES: new-flang-driver
|
||||
|
||||
!-----------
|
||||
! RUN LINES
|
||||
!-----------
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
! Ensure that multiple module directories are not allowed
|
||||
|
||||
! REQUIRES: new-flang-driver
|
||||
|
||||
!--------------------------
|
||||
! FLANG DRIVER (flang-new)
|
||||
!--------------------------
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
! Ensure that only argument -Werror is supported.
|
||||
! REQUIRES: new-flang-driver
|
||||
|
||||
! RUN: not %flang_fc1 -fsyntax-only -Wall %s 2>&1 | FileCheck %s --check-prefix=WRONG
|
||||
! RUN: not %flang_fc1 -fsyntax-only -WX %s 2>&1 | FileCheck %s --check-prefix=WRONG
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
! REQUIRES: new-flang-driver
|
||||
|
||||
!--------------------------
|
||||
! FLANG DRIVER (flang)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
! REQUIRES: new-flang-driver
|
||||
|
||||
!--------------------------
|
||||
! FLANG DRIVER (flang)
|
||||
|
|
|
@ -40,10 +40,6 @@ llvm_config.use_default_substitutions()
|
|||
# directories.
|
||||
config.excludes = ['Inputs', 'CMakeLists.txt', 'README.txt', 'LICENSE.txt']
|
||||
|
||||
# If the new Flang driver is enabled, add the corresponding feature to
|
||||
# config.
|
||||
config.available_features.add('new-flang-driver')
|
||||
|
||||
# If the flang examples are built, add examples to the config
|
||||
if config.flang_examples:
|
||||
config.available_features.add('examples')
|
||||
|
|
Loading…
Reference in New Issue