Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.
This repository was archived by the owner on Aug 14, 2025. It is now read-only.

Add a summary of results difference in the main log #276

@davidscn

Description

@davidscn

A bit of a consequence of precice/openfoam-adapter#149

Example for the deal.II-OpenFOAM tutorial testing:
We currently compare around 500 preCICE export vtk files for this testcase. I don*t understand the purpose of this huge amount of reference data. In general, one file (ususally the last time step) would be enough in order to verify the correctness of the testcase. Doing so would also allow something like this:

print_result() {
        if [ $? -eq 0 ]
        then
            echo -ne "Test passed \n"
        else
            echo -ne "Failed: \n"
            cat diff.log
        fi

so that we could observe any failing differences directly in the travis log files and don*t need to run these things locally.

I would also like to discuss the location of the reference results: in my opinion the references should be hosted in the tutorial repository, so that any changes in the tutorials itself (e.g. the restructuring) require and enable an update of the references within the same PR. This would make it much more transparent for me. Similar to a regular testing infrastructure, we would have a separate directory called tests in the tutorial repository containing all the references.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRequest for commentsquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions