Skip to content

Commit 18111ca

Browse files
authored
[Flang][Driver][OpenMP][Test] Modify one omp-driver-offload.f90 command to not incorrectly expect a single output (#67335)
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.
1 parent a09e32e commit 18111ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/test/Driver/omp-driver-offload.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
! OFFLOAD-HOST-NOT: "-triple" "nvptx64-nvidia-cuda"
3434
! OFFLOAD-HOST-NOT: "{{[^"]*}}flang-new" "-fc1" "-triple" "aarch64-unknown-linux-gnu"
3535

36-
! RUN: not %flang -S -### %s -o %t 2>&1 \
36+
! RUN: %flang -S -### %s 2>&1 \
3737
! RUN: -fopenmp --offload-arch=gfx90a --offload-arch=sm_70 --offload-device-only \
3838
! RUN: --target=aarch64-unknown-linux-gnu \
3939
! RUN: | FileCheck %s --check-prefix=OFFLOAD-DEVICE

0 commit comments

Comments
 (0)