[flang-commits] [flang] 9a485b0 - [Flang] Testcase changes to switch directories before rm (NFC) (#73602)
via flang-commits
flang-commits at lists.llvm.org
Thu Nov 30 14:45:27 PST 2023
Author: madanial0
Date: 2023-11-30T17:45:21-05:00
New Revision: 9a485b02f9e3184ae34e64dbadc2a17b787db007
URL: https://github.com/llvm/llvm-project/commit/9a485b02f9e3184ae34e64dbadc2a17b787db007
DIFF: https://github.com/llvm/llvm-project/commit/9a485b02f9e3184ae34e64dbadc2a17b787db007.diff
LOG: [Flang] Testcase changes to switch directories before rm (NFC) (#73602)
In AIX, the following testcase fails in attempt to delete the current
directory, exiting current directory before removing
---------
Co-authored-by: Mark Danial <mmark.danial at ibm.com>
Added:
Modified:
flang/test/Driver/write-module.f90
Removed:
################################################################################
diff --git a/flang/test/Driver/write-module.f90 b/flang/test/Driver/write-module.f90
index 0be5c5817ba9037..c4dbaddd4b27084 100644
--- a/flang/test/Driver/write-module.f90
+++ b/flang/test/Driver/write-module.f90
@@ -9,6 +9,7 @@
! RUN: rm -rf %t && mkdir -p %t/dir-flang
! RUN: cd %t && %flang -fsyntax-only -module-dir %t/dir-flang %s
! RUN: ls %t/dir-flang/testmodule.mod && not ls %t/testmodule.mod
+! RUN: cd -
!--------------------------
! -module-dir<value>
@@ -16,6 +17,7 @@
! RUN: rm -rf %t && mkdir -p %t/dir-flang
! RUN: cd %t && %flang -fsyntax-only -module-dir%t/dir-flang %s
! RUN: ls %t/dir-flang/testmodule.mod && not ls %t/testmodule.mod
+! RUN: cd -
!---------------------------
! -J <value>
@@ -23,6 +25,7 @@
! RUN: rm -rf %t && mkdir -p %t/dir-flang
! RUN: cd %t && %flang -fsyntax-only -J %t/dir-flang %s
! RUN: ls %t/dir-flang/testmodule.mod && not ls %t/testmodule.mod
+! RUN: cd -
!------------------------------
! -J<value>
@@ -30,6 +33,7 @@
! RUN: rm -rf %t && mkdir -p %t/dir-flang
! RUN: cd %t && %flang -fsyntax-only -J%t/dir-flang %s
! RUN: ls %t/dir-flang/testmodule.mod && not ls %t/testmodule.mod
+! RUN: cd -
module testmodule
type::t2
More information about the flang-commits
mailing list