-pkg> test FortranFiles</code></pre><p>However, in order to test whether files written by a Fortran program are properly read, this first needs to generate some Fortran output. Therefore the following external dependencies are required to run the tests:</p><ul><li>gfortran (a reasonably recent version, which understands the <code>-std=f2008</code> flag)</li><li>GNU make</li><li>Perl</li></ul><p>The tests perform the following steps:</p><ol><li>Create the Fortran source code, and compile it.</li><li>Create the Julia source code for reading the Fortran data, and for writing it out again.</li><li>Run the Fortran program. This produces the input test data.</li><li>Use the Julia code to read in the test data. Datatype and storage size of the read items are checked against their expected values.</li><li>Use the Julia code to read parts of the test data, i.e. records are skipped or read incompletely.</li><li>Use the Julia code to write the data to an output file.</li><li>Check that the input and output file are identical.</li></ol><p>This sequence of steps is performed for each of the tested record types (variable-length records with various types of record markers, and fixed-length records for direct access mode), and each of the supported byte orders, using the appropriate gfortran compiler options to adjust the Fortran output.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../exceptions/">« Exceptions</a><a class="docs-footer-nextpage" href="../theindex/">Index »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.13.0 on <span class="colophon-date" title="Tuesday 1 July 2025 16:50">Tuesday 1 July 2025</span>. Using Julia version 1.11.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
0 commit comments