fpm_manifest_test Module

Implementation of the meta data for a test.

The test data structure is effectively a decorated version of an executable and shares most of its properties, except for the defaults and can be handled under most circumstances just like any other executable.

A test table can currently have the following fields

[[ test ]]
name = "string"
source-dir = "path"
main = "file"
link = ["lib"]
[test.dependencies]


Contents


Derived Types

type, public, extends(executable_config_t) :: test_config_t

Configuation meta data for an test

Type-Bound Procedures

procedure, public :: info

Print information on this instance


Subroutines

public subroutine new_test(self, table, error)

Construct a new test configuration from a TOML data structure

Arguments

Type IntentOptional AttributesName
type(test_config_t), intent(out) :: self

Instance of the test configuration

type(toml_table), intent(inout) :: table

Instance of the TOML data structure

type(error_t), intent(out), allocatable:: error

Error handling