default_test Subroutine

public subroutine default_test(self, name)

Populate test in case we find the default test/ directory

Arguments

Type IntentOptional Attributes Name
type(test_config_t), intent(out) :: self

Instance of the executable meta data

character(len=*), intent(in) :: name

Name of the package


Contents

Source Code


Source Code

    subroutine default_test(self, name)

        !> Instance of the executable meta data
        type(test_config_t), intent(out) :: self

        !> Name of the package
        character(len=*), intent(in) :: name

        self%name = name // "-test"
        self%source_dir = "test"
        self%main = "main.f90"

    end subroutine default_test