[flang-commits] [flang] [flang][test] Fix filecheck annotation typos (PR #92387)

via flang-commits flang-commits at lists.llvm.org
Mon May 27 09:42:17 PDT 2024


================
@@ -137,7 +137,7 @@
 ! RUN: -fopenmp-targets=nvptx64-nvidia-cuda \
 ! RUN: -fopenmp-target-debug \
 ! RUN: | FileCheck %s --check-prefixes=CHECK-TARGET-DEBUG
-! CHECK-TARGET-DEBUG-EQ: "{{[^"]*}}flang-new" "-fc1" {{.*}} "-fopenmp" {{.*}} "-fopenmp-is-target-device" "-fopenmp-target-debug=111" {{.*}}.f90"
+! CHECK-TARGET-DEBUG: "{{[^"]*}}flang-new" "-fc1" {{.*}} "-fopenmp" {{.*}} "-fopenmp-is-target-device" "-fopenmp-target-debug=111" {{.*}}.f90"
----------------
agozillon wrote:

Looks like the test was broken by a typo originally (my appologies), the `--check-prefixes` line should originally have been: `--check-prefixes=CHECK-TARGET-DEBUG-EQ` to seperate it from the test prior to it that utilises CHECK-TARGET-DEBUG. And the actual -fopenmp-target-debug  command argument should be changed to "-fopenmp-target-debug=111" for both the CUDA and AMD variations of the command, that should allow it to pass. 


https://github.com/llvm/llvm-project/pull/92387


More information about the flang-commits mailing list