Skip to content
Snippets Groups Projects
Commit e4474270 authored by Vít Hanousek's avatar Vít Hanousek
Browse files

Merge branch 'mpi' into mpi-explosive

parents a7218de7 2587db3a
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ stages: ...@@ -41,7 +41,7 @@ stages:
-DWITH_COVERAGE=${WITH_COVERAGE} -DWITH_COVERAGE=${WITH_COVERAGE}
-DWITH_EXAMPLES=${WITH_EXAMPLES} -DWITH_EXAMPLES=${WITH_EXAMPLES}
- make - make
- make test - make test CTEST_OUTPUT_ON_FAILURE=1
- make install - make install
- popd - popd
variables: variables:
......
...@@ -162,7 +162,7 @@ fi ...@@ -162,7 +162,7 @@ fi
if test ${WITH_TESTS} = "yes"; if test ${WITH_TESTS} = "yes";
then then
make test make test CTEST_OUTPUT_ON_FAILURE=1
if test $? != 0; then if test $? != 0; then
echo "Error: Some test did not pass successfuly." echo "Error: Some test did not pass successfuly."
fi fi
......
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
#include "Mpi/Functions.h" #include "Mpi/Functions.h"
#include <iostream>
using namespace TNL::Containers; using namespace TNL::Containers;
using namespace TNL::Meshes; using namespace TNL::Meshes;
using namespace TNL::Functions; using namespace TNL::Functions;
...@@ -58,7 +60,7 @@ class TestSaveAndLoadMeshfunction ...@@ -58,7 +60,7 @@ class TestSaveAndLoadMeshfunction
linearFunctionEvaluator.evaluateAllEntities(localMeshFunctionptr , linearFunctionPtr); linearFunctionEvaluator.evaluateAllEntities(localMeshFunctionptr , linearFunctionPtr);
File file; File file;
file.open( String( "/tmp/test-file.tnl"), IOMode::write ); file.open( String( "./test-file.tnl"), IOMode::write );
localMeshFunctionptr->save(file); localMeshFunctionptr->save(file);
file.close(); file.close();
...@@ -76,7 +78,7 @@ class TestSaveAndLoadMeshfunction ...@@ -76,7 +78,7 @@ class TestSaveAndLoadMeshfunction
loadDof[i]=-1; loadDof[i]=-1;
} }
file.open( String( "/tmp/test-file.tnl" ), IOMode::read ); file.open( String( "./test-file.tnl" ), IOMode::read );
loadMeshFunctionptr->boundLoad(file); loadMeshFunctionptr->boundLoad(file);
file.close(); file.close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment