Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -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: Loading build +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading src/UnitTests/SaveAndLoadMeshfunctionTest.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -13,6 +13,8 @@ #include "Mpi/Functions.h" #include <iostream> using namespace TNL::Containers; using namespace TNL::Meshes; using namespace TNL::Functions; Loading Loading @@ -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(); Loading @@ -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(); Loading Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -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: Loading
build +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
src/UnitTests/SaveAndLoadMeshfunctionTest.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -13,6 +13,8 @@ #include "Mpi/Functions.h" #include <iostream> using namespace TNL::Containers; using namespace TNL::Meshes; using namespace TNL::Functions; Loading Loading @@ -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(); Loading @@ -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(); Loading