[PATCH] D83320: Hand port modfile01.f90 from test_modfile.sh to FileCheck
Tim Keith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 7 14:19:00 PDT 2020
tskeith added inline comments.
================
Comment at: flang/test/Semantics/modfile01.f90:1
-! RUN: %S/test_modfile.sh %s %t %f18
+! RUN: mkdir -p %t.dir
+! RUN: %f18 -module %t.dir -fdebug-resolve-names -fparse-only %s
----------------
It looks like the temp directory could still be there from the previous run. Does it get cleaned up?
test_modfile.sh has the same problem, dating back to the port to lit.
================
Comment at: flang/test/Semantics/modfile01.f90:9
+! Module files start with a 3-byte UTF BOM which lit struggles with. Remove it
+! with sed before lit sees it.
+! RUN: FileCheck --input-file=%t.dir/m1.mod --check-prefix=MOD-M1 %s
----------------
Where is this sed command?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83320/new/
https://reviews.llvm.org/D83320
More information about the llvm-commits
mailing list