Skip to content

Releases: BerkeleyLab/julienne

String_t construction from logical and complex types

06 Jan 07:44
75d5945
Compare
Choose a tag to compare

What's Changed

  • Feature: construct string_t objects from logical & complex arguments by @rouson in #30
  • Documentation: Fix link to example directory in README by @ktras in #31
  • Testing: temporary test-suite workaround for NAG compiler by @rouson in #32

Full Changelog: 1.6.0...1.7.0

Diagnostic output, test-suite example, and UML diagrams

02 Jan 16:06
d379d91
Compare
Choose a tag to compare

What's New

  • A capability for producing diagnostic output when a test fails. 🩹 🤕
  • An example test suite demonstrating the use of diagnostic in a test failure. 🩺
  • A doc/uml/ subdirectory containing UML class and sequence diagrams describing the example test suite. 📖

Executing fpm run --example main runs the new example test suite.

Changelog Summary

  • Add unit tests for test_description_t and simplify the derived type definition by @rouson in #27
  • Feature: produce diagnostic output for test failures by @rouson in #28

Full Changelog: 1.5.4...1.6.0

Improve test coverage and robustness

19 Dec 06:55
0be1298
Compare
Choose a tag to compare

This release

  1. Replaces the previously fragile unit tests for the command_line_t type with tests that no longer require launching an fpm subprocess via execute_command_line and checking that child process's exit status.
  2. Improves test output: if the flags for running the command_line_t tests are not detected in the fpm test command, the main test program prints instructions for running the command_line_t tests .
  3. Updates the CI testing from macOS 12 to the GitHub CI-supported version 13.
  4. Adds the.smod generated submodule file extensions to the .gitignore file.
  5. Fixes some issues that led to crashes when searched-for flags were not present or the flag value is not present.
  6. Adds command_line_t unit tests.

What's Changed

  • Improve test coverage and robustness by @rouson in #26

Full Changelog: 1.5.3...1.5.4

Fix: eliminate line wrapping in file_t write_lines procedure

27 Oct 17:49
814fa6a
Compare
Choose a tag to compare

What's Changed

  • Fix: eliminate line wrap in file_t write_lines by @rouson in #25

Full Changelog: 1.5.2...1.5.3

Fix: eliminate line wrapping in test-subject report output

27 Oct 16:09
Compare
Choose a tag to compare

This release replaces list-directed printing of the test_t subject with formatted printing to work around flang's relatively short wrapping length for list-directed printing.

1.5.0

27 Oct 04:02
ed308b1
Compare
Choose a tag to compare

This release

  1. A unary operator(.csv.) with a string_t result encapsulating a comma-separated value (CSV) created from
    a. a string_t array or
    b. a character array,
  2. A binary operator(.sv.) with a string_t result encapsulating a CSV created from left- and right-hand operands:
    a. a string_t array and a string_t separator or
    b. a string_t array and a character separator.
    c. a character array and a character separator
    d. a character array and a string_t separator
  3. A unit test that verifies the following identities:
"a,bc,def" == .csv. [string_t("a"), string_t("bc"), string_t("def")]
"abc,def"  == .csv. ["abc", "def"]
    
"do|re|mi" == (string_t(["do", "re", "mi"])         .sv.          "|" )
"dore|mi"  == (([string_t("dore"), string_t("mi")]) .sv. string_t("|"))
"do|re|mi" == (         ["do", "re", "mi"]          .sv.          "|" )
"do|re|mi" == (         ["do", "re", "mi"]          .sv. string_t("|"))
  1. A bracket type-bound procedure and a test verifying the following identities:
scalar%bracket()           == string_t("[do re mi]") &
all(array%bracket()        == [string_t("[do]"), string_t("[re]"), string_t("[mi]")]) &
all(array%bracket('"')     == [string_t('"do"'), string_t('"re"'), string_t('"mi"')]) &
all(array%bracket("{","}") == [string_t('{do}'), string_t('{re}'), string_t('{mi}')]) &
  1. A get_string_t_array specific procedure supporting the generic get_json_value binding and test verifying the following identities:
associate(json_line  => string_t('"lead singer" : ["stevie", "ray", "vaughn"],'))
  all( json_line%get_json_value(key=string_t("lead singer"), mold=[string_t::]) == [string_t("stevie"), string_t("ray"), string_t("vaughn")]))
end associate

What's Changed

  • Features: string bracketing, CSV operators, and JSON array value reader by @rouson in #23

Full Changelog: 1.4.0...1.5.0

Feature: get_json_value reads string-array value from key/value pair

25 Oct 05:17
5ab3443
Compare
Choose a tag to compare

What's Changed

  • Read string_t-array value from JSON key/value pair by @rouson in #22

Full Changelog: 1.3.1...1.4.0

Improved testing

24 Sep 03:28
1eb98b8
Compare
Choose a tag to compare

What's Changed

  • Add LLVM Flang to CI by @ktras in #15
  • chore(fpm.toml): update version by @rouson in #18
  • Fix n doc test workflow by @rouson in #19
  • doc(README): instruct to export FPM_{FC,FFLAGS) by @rouson in #20
  • Use language-feature macros and work around flang I/O issue by @rouson in #21

Full Changelog: 1.3.0...1.3.1

Public GitHub_CI detector and generic test-description search function

07 Sep 21:24
fb79a7f
Compare
Choose a tag to compare

What's Changed

  • Feature-based macros by @rouson in #16
  • Make GitHub_CI detector public and description search function generic by @rouson in #17

Full Changelog: 1.2.2...1.3.0

Double-precision separated value format

03 Sep 04:21
6d143f3
Compare
Choose a tag to compare

What's Changed

  • Feature: add double-precision separated value format and unit test by @rouson in #14

Full Changelog: 1.2.1...1.2.2