Commit e4474270 authored by Vít Hanousek's avatar Vít Hanousek
Browse files

Merge branch 'mpi' into mpi-explosive

parents a7218de7 2587db3a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ stages:
                -DWITH_COVERAGE=${WITH_COVERAGE}
                -DWITH_EXAMPLES=${WITH_EXAMPLES}
        - make
        - make test
        - make test CTEST_OUTPUT_ON_FAILURE=1
        - make install
        - popd
    variables:
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ fi

if test ${WITH_TESTS} = "yes";
then
    make test
    make test CTEST_OUTPUT_ON_FAILURE=1
    if test $? != 0; then
        echo "Error: Some test did not pass successfuly."
    fi
+4 −2
Original line number Diff line number Diff line
@@ -13,6 +13,8 @@

#include "Mpi/Functions.h"

#include <iostream>

using namespace TNL::Containers;
using namespace TNL::Meshes;
using namespace TNL::Functions;
@@ -58,7 +60,7 @@ class TestSaveAndLoadMeshfunction
            linearFunctionEvaluator.evaluateAllEntities(localMeshFunctionptr , linearFunctionPtr);

            File file;
            file.open( String( "/tmp/test-file.tnl"), IOMode::write );        
            file.open( String( "./test-file.tnl"), IOMode::write );        
            localMeshFunctionptr->save(file);        
            file.close();

@@ -76,7 +78,7 @@ class TestSaveAndLoadMeshfunction
                loadDof[i]=-1;
            }

            file.open( String( "/tmp/test-file.tnl" ), IOMode::read );
            file.open( String( "./test-file.tnl" ), IOMode::read );
            loadMeshFunctionptr->boundLoad(file);
            file.close();