[all-commits] [llvm/llvm-project] a39e9c: [flang] Basic tests of external I/O runtime (part ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jul 6 10:38:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a39e9cf6bec4e7c8e2e947972421c1d5a6f473d6
      https://github.com/llvm/llvm-project/commit/a39e9cf6bec4e7c8e2e947972421c1d5a6f473d6
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M flang/runtime/terminator.cpp
    M flang/runtime/terminator.h
    M flang/unittests/Runtime/CMakeLists.txt
    M flang/unittests/Runtime/external-hello.cpp
    A flang/unittests/Runtime/external-io.cpp
    M flang/unittests/Runtime/testing.cpp
    M flang/unittests/Runtime/testing.h

  Log Message:
  -----------
  [flang] Basic tests of external I/O runtime (part 9/9)

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.

Reviewed By: sscalpone

Differential Revision: https://reviews.llvm.org/D83164




More information about the All-commits mailing list