[flang-commits] [flang] 885f93d - Reapply "[flang] Fix cuda-option test on Darwin (#85687)"

Stephen Tozer via flang-commits flang-commits at lists.llvm.org
Tue Mar 19 07:41:20 PDT 2024


Author: Stephen Tozer
Date: 2024-03-19T14:40:46Z
New Revision: 885f93d62a0a7d2955a755cdc451d394577b36e2

URL: https://github.com/llvm/llvm-project/commit/885f93d62a0a7d2955a755cdc451d394577b36e2
DIFF: https://github.com/llvm/llvm-project/commit/885f93d62a0a7d2955a755cdc451d394577b36e2.diff

LOG: Reapply "[flang] Fix cuda-option test on Darwin (#85687)"

This commit was mistakenly reverted in place of the actual failing
commit prior; reapplying.

This reverts commit db4170a4f3a701a62f5c1ef2e6a30f490f107f7d.

Added: 
    

Modified: 
    flang/test/Driver/cuda-option.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Driver/cuda-option.f90 b/flang/test/Driver/cuda-option.f90
index 112e1cb6c77f8c..562f8683b0ff7d 100644
--- a/flang/test/Driver/cuda-option.f90
+++ b/flang/test/Driver/cuda-option.f90
@@ -1,6 +1,6 @@
 ! Test -fcuda option
-! RUN: %flang -fc1 -cpp -x cuda -fdebug-unparse %s -o - | FileCheck %s
-! RUN: not %flang -fc1 -cpp %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
+! RUN: %flang_fc1 -cpp -x cuda -fdebug-unparse %s -o - | FileCheck %s
+! RUN: not %flang_fc1 -cpp %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
 program main
 #if _CUDA
   integer :: var = _CUDA


        


More information about the flang-commits mailing list