mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 18:16:42 +00:00
[flang] Fix exec.f90 test on LIT integrated shell (#93961)
The exec.f90 test sets an environment variable for a specific command directly rather than using env, which doesn't work on shells that don't support this syntax, most notably the LIT integrated shell. This patch simply adds env so that this works on the integrated shell.
This commit is contained in:
parent
b52962d1b8
commit
5c7f7cc4de
@ -2,7 +2,7 @@
|
||||
! Verify that flang can correctly build executables.
|
||||
|
||||
! RUN: %flang %s -o %t
|
||||
! RUN: LD_LIBRARY_PATH="$LD_LIBRARY_PATH:%llvmshlibdir" %t | FileCheck %s
|
||||
! RUN: env LD_LIBRARY_PATH="$LD_LIBRARY_PATH:%llvmshlibdir" %t | FileCheck %s
|
||||
! RUN: rm -f %t
|
||||
|
||||
! CHECK: Hello, World!
|
||||
|
Loading…
x
Reference in New Issue
Block a user