Skip to content

Releases: sourceryinstitute/sourcery

4.8.1 Compiler bug workaround

02 May 20:26
f3914ce
Compare
Choose a tag to compare

This updates recently added code to ensure that it builds with the ifx compiler.

What's Changed

  • fix: work around ifx impure function-ref bug by @rouson in #83

Full Changelog: 4.8.0...4.8.1

Support vector-valued unit-test functions

24 Apr 02:21
a3d9df3
Compare
Choose a tag to compare

What's Changed

  • feat: support vector-valued test functions by @rouson in #81
  • doc(README.md): describe unit testing framework by @rouson in #82

Full Changelog: 4.7.1...4.8.0

4.7.1 Add test_descriptor_t constructor and unit test

20 Apr 03:30
609b8a3
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.7.0...4.7.1

4.7.0 Selectively run test subsets

19 Apr 05:02
5c67bc7
Compare
Choose a tag to compare

This release adds the functionality for selective test execution as described in the new
test-suite usage information that prints after executing fpm test -- --help

Usage: fpm test -- [--help] | [--contains <substring>]
    
where square brackets ([]) denote optional arguments, a pipe (|) separates alternative arguments,
angular brackets (<>) denote a user-provided value, and passing a substring limits execution to
the tests with test subjects or test descriptions containing the user-specified substring.

For example, executing fpm test -- --contains string_t runs only those tests with the substring string_t in the test subject text and or the test description text.

See test/main.f90 and test/bin_test.f90 for examples of how to use the new test_description_t derived type and type-bound procedures to provide a similar help/subsetting capability to software packages that use the Sourcery library.

What's Changed

Full Changelog: 4.6.1...4.7.0

Expand JSON key/value parsing to include real arrays

29 Mar 01:32
e8660b4
Compare
Choose a tag to compare

What's Changed

  • Add string_t get_json_real_array type-bound procedure by @rouson in #75

Full Changelog: 4.6.0...4.6.1

Support Cray Compiler Environment (CCE) 17.0.0

11 Feb 02:06
17890a6
Compare
Choose a tag to compare

What's Changed

  • Work around Cray Compiler Environment bugs & make tests more robust by @rouson in #72
  • doc(README): add build/test info for CCE & NAG by @rouson in #73

Full Changelog: 4.5.3...4.6.0

4.5.3 Unit test improvement & string_t array concatenation operator

29 Jan 22:32
b952429
Compare
Choose a tag to compare

What's Changed

  • String_t features: unary array operator(.cat.) and constructor from real scalar by @rouson in #70
  • String_t: allow larger numeric representation by @rouson in #71

Full Changelog: 4.5.2...4.5.3

4.5.2

29 Jan 15:34
9d54be4
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.5.1...4.5.2

Bug fix: test_result_t reports a passing test only if all images pass

26 Dec 14:20
2ee49f3
Compare
Choose a tag to compare

What's Changed

  • chore(command_line): rm redundant file-name prefix by @rouson in #65
  • fix(test_result): pass only if all images pass test by @rouson in #66

Full Changelog: 4.5.0...4.6.0

Feature: string_t objects support the concatenation operator(//)

03 Dec 01:19
d335111
Compare
Choose a tag to compare

as demonstrated in the new unit test:

  function supports_concatenation_operator() result(passed)
    logical passed
    character(len=*), parameter :: prefix = "foo", postfix="bar"

    associate(infix => string_t(" yada yada "))
      passed = prefix // infix // postfix == prefix // infix%string() // postfix 
    end associate
  end function

What's Changed

  • feat(string_t): support concatenation operator(//) by @rouson in #64

Full Changelog: 4.4.4...4.5.0