From 4d21096c207847463a0253e0876c95c92e74adc3 Mon Sep 17 00:00:00 2001 From: Kiran Chandramohan Date: Mon, 20 Jan 2025 11:27:55 +0000 Subject: [PATCH] [Flang] Modify module test to run in a sub-directory (#123364) This is to avoid race conditions with other tests. --- flang/test/Lower/module_use.f90 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flang/test/Lower/module_use.f90 b/flang/test/Lower/module_use.f90 index b976663239ef..f7c610c9ad22 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