diff options
author | 2021-04-16 15:23:47 +0000 | |
---|---|---|
committer | 2021-04-20 12:49:47 +0000 | |
commit | c2e452fb05a714a3826275f038d201f87e9ba2d5 (patch) | |
tree | 54c7aec98ff7fdb46e8e49ab12603867fafe0ddf | |
parent | [libc++][ci] Re-split the CI pipeline to try and reduce load on more builders (diff) | |
download | llvm-project-c2e452fb05a714a3826275f038d201f87e9ba2d5.tar.gz llvm-project-c2e452fb05a714a3826275f038d201f87e9ba2d5.tar.bz2 llvm-project-c2e452fb05a714a3826275f038d201f87e9ba2d5.zip |
[flang][nfc] Port 2 tests to use the new driver when enabled
This is similar to https://reviews.llvm.org/D100309, i.e. `%f18` is
replaced with `%flang_new`.
resolve105.f90 wasn't in tree when D100309 was worked on, so it's
updated here instead.
label14.f90 requires `-fsyntax-only`. I didn't notice that when
submitting D100309, hence updating it now instead. `-fsyntax-only` is
required to prevent `%f18` from calling an external compiler (which then
fails and returns a non-zero exit code).
Differential Revision: https://reviews.llvm.org/D100655
-rw-r--r-- | flang/test/Semantics/label14.f90 | 2 | ||||
-rw-r--r-- | flang/test/Semantics/resolve105.f90 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/flang/test/Semantics/label14.f90 b/flang/test/Semantics/label14.f90 index ebb865c9e85b..27030c9d0850 100644 --- a/flang/test/Semantics/label14.f90 +++ b/flang/test/Semantics/label14.f90 @@ -2,7 +2,7 @@ ! 11.1.4 - 4 It is permissible to branch to and end-block-stmt only withinh its ! Block Construct -! RUN: not %f18 %s 2>&1 | FileCheck %s +! RUN: %flang_fc1 -fsyntax-only %s 2>&1 | FileCheck %s ! CHECK: Label '20' is not in scope subroutine s1 diff --git a/flang/test/Semantics/resolve105.f90 b/flang/test/Semantics/resolve105.f90 index 53ce9999f676..540245251164 100644 --- a/flang/test/Semantics/resolve105.f90 +++ b/flang/test/Semantics/resolve105.f90 @@ -1,4 +1,4 @@ -! RUN: %S/test_errors.sh %s %t %f18 +! RUN: %S/test_errors.sh %s %t %flang_fc1 ! Test instantiation of components that are procedure pointers. ! program test |