[Flang] Modify module test to run in a sub-directory (#123364)

This is to avoid race conditions with other tests.
This commit is contained in:
Kiran Chandramohan
2025-01-20 11:27:55 +00:00
committed by GitHub
parent 3ace18d5c0
commit 4d21096c20

View File

@@ -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