[flang-commits] [flang] [Flang][Driver][OpenMP][Test] Modify one omp-driver-offload.f90 command to not incorrectly expect a single output (PR #67335)
via flang-commits
flang-commits at lists.llvm.org
Mon Sep 25 07:43:22 PDT 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-driver
<details>
<summary>Changes</summary>
The test command which tests offloading to multiple device architectures expects multiple outputs, however, the test as written with the -o expects a single output result. This change modifies it to not expect a single output, which allows the command to succeed and allow the removal of the not prefix.
---
Full diff: https://github.com/llvm/llvm-project/pull/67335.diff
1 Files Affected:
- (modified) flang/test/Driver/omp-driver-offload.f90 (+1-1)
``````````diff
diff --git a/flang/test/Driver/omp-driver-offload.f90 b/flang/test/Driver/omp-driver-offload.f90
index 74ed0f9006e81c3..ba68f76e7a458aa 100644
--- a/flang/test/Driver/omp-driver-offload.f90
+++ b/flang/test/Driver/omp-driver-offload.f90
@@ -33,7 +33,7 @@
! OFFLOAD-HOST-NOT: "-triple" "nvptx64-nvidia-cuda"
! OFFLOAD-HOST-NOT: "{{[^"]*}}flang-new" "-fc1" "-triple" "aarch64-unknown-linux-gnu"
-! RUN: not %flang -S -### %s -o %t 2>&1 \
+! RUN: %flang -S -### %s 2>&1 \
! RUN: -fopenmp --offload-arch=gfx90a --offload-arch=sm_70 --offload-device-only \
! RUN: --target=aarch64-unknown-linux-gnu \
! RUN: | FileCheck %s --check-prefix=OFFLOAD-DEVICE
``````````
</details>
https://github.com/llvm/llvm-project/pull/67335
More information about the flang-commits
mailing list