[PATCH] D83164: [flang] Basic tests of external I/O runtime (part 9/9)

Peter Klausler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 4 15:02:29 PDT 2020


klausler created this revision.
klausler added reviewers: tskeith, sscalpone.
klausler added a project: Flang.
Herald added subscribers: llvm-commits, mgorny.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.

Add new unit tests for external Fortran I/O that drive the
Fortran I/O runtime API from C++ and exercise basic writing
and read-back in the various combinations of access modes,
record length variability, and formatting.  Sequential modes
are tested with positioning.  More thorough tests written in
Fortran will follow when they can be compiled and run.

The Fortran runtime's error termination callback registration
was extended with source file and line number positions for
better failure messages in unit testing.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83164

Files:
  flang/runtime/terminator.cpp
  flang/runtime/terminator.h
  flang/unittests/Runtime/CMakeLists.txt
  flang/unittests/Runtime/external-hello.cpp
  flang/unittests/Runtime/testing.cpp
  flang/unittests/Runtime/testing.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83164.275522.patch
Type: text/x-patch
Size: 4550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200704/f91276e0/attachment.bin>


More information about the llvm-commits mailing list