[flang-commits] [flang] 31ce0f1 - [flang][driver] Fix exec.f90 test with shared libs

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Thu Jan 11 08:06:41 PST 2024


Author: Leandro Lupori
Date: 2024-01-11T15:52:20Z
New Revision: 31ce0f1dda3caed829db09b9212eac54a8a28572

URL: https://github.com/llvm/llvm-project/commit/31ce0f1dda3caed829db09b9212eac54a8a28572
DIFF: https://github.com/llvm/llvm-project/commit/31ce0f1dda3caed829db09b9212eac54a8a28572.diff

LOG: [flang][driver] Fix exec.f90 test with shared libs

Added: 
    

Modified: 
    flang/test/Driver/exec.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Driver/exec.f90 b/flang/test/Driver/exec.f90
index b3b7ab5b3ab2d4..4a2e66bd2aac47 100644
--- a/flang/test/Driver/exec.f90
+++ b/flang/test/Driver/exec.f90
@@ -1,7 +1,8 @@
+! UNSUPPORTED: system-windows
 ! Verify that flang can correctly build executables.
 
 ! RUN: %flang %s -o %t
-! RUN: %t | FileCheck %s
+! RUN: LD_LIBRARY_PATH="$LD_LIBRARY_PATH:%llvmshlibdir" %t | FileCheck %s
 ! RUN: rm -f %t
 
 ! CHECK: Hello, World!


        


More information about the flang-commits mailing list