[flang-commits] [flang] 4d21096 - [Flang] Modify module test to run in a sub-directory (#123364)
via flang-commits
flang-commits at lists.llvm.org
Mon Jan 20 03:27:58 PST 2025
Author: Kiran Chandramohan
Date: 2025-01-20T11:27:55Z
New Revision: 4d21096c207847463a0253e0876c95c92e74adc3
URL: https://github.com/llvm/llvm-project/commit/4d21096c207847463a0253e0876c95c92e74adc3
DIFF: https://github.com/llvm/llvm-project/commit/4d21096c207847463a0253e0876c95c92e74adc3.diff
LOG: [Flang] Modify module test to run in a sub-directory (#123364)
This is to avoid race conditions with other tests.
Added:
Modified:
flang/test/Lower/module_use.f90
Removed:
################################################################################
diff --git a/flang/test/Lower/module_use.f90 b/flang/test/Lower/module_use.f90
index b976663239ef5a..f7c610c9ad22ed 100644
--- a/flang/test/Lower/module_use.f90
+++ b/flang/test/Lower/module_use.f90
@@ -1,6 +1,6 @@
-! RUN: rm -fr %t && mkdir -p %t
-! RUN: bbc -emit-fir -module %t %S/module_definition.f90
-! RUN: bbc -emit-fir -J %t %s -o - | FileCheck %s
+! RUN: rm -fr %t && mkdir -p %t && cd %t
+! RUN: bbc -emit-fir %S/module_definition.f90
+! RUN: bbc -emit-fir %s -o - | FileCheck %s
! Test use of module data not defined in this file.
! The modules are defined in module_definition.f90
More information about the flang-commits
mailing list