Skip to content

Releases: fortesg/fortrantestgenerator

Template Stabilization

10 Dec 12:45
Compare
Choose a tag to compare

This release brings all changes from the 1.6.x-beta branch to the master branch, plus some minor fixes and refactorings.

Please note the major changes introduced in v1.6.0-beta.

Old templates will not work any longer!

You have to change your configuration!

Requires FortranCallGraph v1.4.0+ and Serialbox2 v.2.4.0+

Indentation

01 Nov 20:47
Compare
Choose a tag to compare

No more indentation for preprocessor directives, fixes #18.

Indentation

01 Nov 20:46
Compare
Choose a tag to compare

No more indentation for preprocessor directives, fixes #18.

Template fix

04 Oct 20:28
Compare
Choose a tag to compare
Template fix Pre-release
Pre-release

Some bug fixes in the ftgWrite and ftgRead template parts.

Template Hierarchy

06 Jul 22:12
Compare
Choose a tag to compare
Template Hierarchy Pre-release
Pre-release

This beta release brings major changes to the template system

Old templates will not work any longer!

You have to change your configuration!

  1. The template API has changed and is not compatible to the old API.

  2. The configuration variable TEMPLATE_DIR is replaced by TEMPLATE. Instead of a directory it has to set a concrete template file. This template file has to extend FTGTemplate.tmpl by defining all needed parts, see for example templates/Standalone/Standalone.tmpl. The individual parts still can be contained in separate files, but those have to be included by the main file.

    Mandatory parts:

captureBeforeContains
captureAfterLastSpecification
captureBeforeEnd
captureAfterSubroutine
export
replay
  1. Templates can inherit from other templates and redefine only some parts.

    Current template hierarchy:

FTGTemplate.tmpl
│
└─ templates/Standalone/Standalone.tmpl
   │  
   ├─ templates/StandaloneNoMPI/StandaloneNoMPI.tmpl
   │
   └─ templates/IconStandalone/IconStandalone.tmpl
      │
      └─ templates/IconTestbed/IconTestbed.tmpl
  1. There is still no documentation available. SORRY!
    Just copy one template and try out yourself.

#endif

13 Jun 20:43
Compare
Choose a tag to compare
  • Adds some tests
  • Fixes #12 (and #11)

Serialbox2 update

17 Apr 20:39
Compare
Choose a tag to compare

Adapted templates to recent changes in the FTG frontend of serialbox2.

Requires Serialbox2 v2.3.1+.

Bounds

27 Feb 21:06
Compare
Choose a tag to compare

Fixed wrong usage of ftg_get_bounds in all templates.

Serialbox2 templates

16 Feb 19:36
Compare
Choose a tag to compare

Configurable

13 Dec 15:57
Compare
Choose a tag to compare
  • Added -cf/--configFile option to choose another config file
  • Can now analyse and modify different source directories
  • Added creation of data directories to code templates
  • Various bug fixes and enhancements
  • Refactorings

Requires FortranCallGraph v1.2.x and serialbox-ftg v.0.5.x!