Skip to content

Commit 4d21096

Browse files
[Flang] Modify module test to run in a sub-directory (#123364)
This is to avoid race conditions with other tests.
1 parent 3ace18d commit 4d21096

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flang/test/Lower/module_use.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
! RUN: rm -fr %t && mkdir -p %t
2-
! RUN: bbc -emit-fir -module %t %S/module_definition.f90
3-
! RUN: bbc -emit-fir -J %t %s -o - | FileCheck %s
1+
! RUN: rm -fr %t && mkdir -p %t && cd %t
2+
! RUN: bbc -emit-fir %S/module_definition.f90
3+
! RUN: bbc -emit-fir %s -o - | FileCheck %s
44

55
! Test use of module data not defined in this file.
66
! The modules are defined in module_definition.f90

0 commit comments

Comments
 (0)