[flang-commits] [flang] 6a8a423 - [flang] Fix driver option tests after 90094ab8

Rahul Kayaith via flang-commits flang-commits at lists.llvm.org
Sun Feb 5 16:00:32 PST 2023


Author: Rahul Kayaith
Date: 2023-02-05T18:59:45-05:00
New Revision: 6a8a423c1864ced060a7041bf6ada7574f35ad4d

URL: https://github.com/llvm/llvm-project/commit/6a8a423c1864ced060a7041bf6ada7574f35ad4d
DIFF: https://github.com/llvm/llvm-project/commit/6a8a423c1864ced060a7041bf6ada7574f35ad4d.diff

LOG: [flang] Fix driver option tests after 90094ab8

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/flang/test/Driver/driver-help-hidden.f90 b/flang/test/Driver/driver-help-hidden.f90
index a5821435f39b8..188f344fd9a7a 100644
--- a/flang/test/Driver/driver-help-hidden.f90
+++ b/flang/test/Driver/driver-help-hidden.f90
@@ -55,6 +55,7 @@
 ! CHECK-NEXT: -fxor-operator         Enable .XOR. as a synonym of .NEQV.
 ! CHECK-NEXT: -help     Display available options
 ! CHECK-NEXT: -I <dir>               Add directory to the end of the list of include search paths
+! CHECK-NEXT: -mllvm=<arg>           Alias for -mllvm
 ! CHECK-NEXT: -mllvm <value>         Additional arguments to forward to LLVM's option processing
 ! CHECK-NEXT: -mmlir <value>         Additional arguments to forward to MLIR's option processing
 ! CHECK-NEXT: -module-dir <dir>      Put MODULE files in <dir>

diff  --git a/flang/test/Driver/driver-help.f90 b/flang/test/Driver/driver-help.f90
index 7bdf3e35d8d6e..1714d75431dc7 100644
--- a/flang/test/Driver/driver-help.f90
+++ b/flang/test/Driver/driver-help.f90
@@ -53,6 +53,7 @@
 ! HELP-NEXT: -fxor-operator         Enable .XOR. as a synonym of .NEQV.
 ! HELP-NEXT: -help                  Display available options
 ! HELP-NEXT: -I <dir>               Add directory to the end of the list of include search paths
+! HELP-NEXT: -mllvm=<arg>           Alias for -mllvm
 ! HELP-NEXT: -mllvm <value>         Additional arguments to forward to LLVM's option processing
 ! HELP-NEXT: -mmlir <value>         Additional arguments to forward to MLIR's option processing
 ! HELP-NEXT: -module-dir <dir>      Put MODULE files in <dir>


        


More information about the flang-commits mailing list