]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Replace DATA_DIR environment variable in tests by MED_ROOT_DIR BR_Ensight_Indus BR_Ensight_Indus_Patched1 tag_2008_Jul_01
authorvsr <vsr@opencascade.com>
Tue, 13 May 2008 12:10:25 +0000 (12:10 +0000)
committervsr <vsr@opencascade.com>
Tue, 13 May 2008 12:10:25 +0000 (12:10 +0000)
src/ParaMEDMEM/Test/ParaMEDMEMTest_IntersectionDEC.cxx
src/ParaMEDMEM/Test/ParaMEDMEMTest_NonCoincidentDEC.cxx
src/ParaMEDMEM/Test/ParaMEDMEMTest_StructuredCoincidentDEC.cxx

index bc408649afe38d1d4b7c6c61110d5d3d0b5b8326..77364428e69b5fed4717c4870fe8debe327b3e0b 100644 (file)
@@ -100,8 +100,8 @@ void ParaMEDMEMTest::testIntersectionDEC_2D()
   string tmp_dir                    = getenv("TMP");
   if (tmp_dir == "")
     tmp_dir = "/tmp";
-  string filename_xml1              = data_dir + "/share/salome/resources/MedFiles/square1_split";
-  string filename_xml2              = data_dir + "/share/salome/resources/MedFiles/square2_split"; 
+  string filename_xml1              = data_dir + "/share/salome/resources/med/square1_split";
+  string filename_xml2              = data_dir + "/share/salome/resources/med/square2_split"; 
   string filename_seq_wr            = tmp_dir + "/";
   string filename_seq_med           = tmp_dir + "/myWrField_seq_pointe221.med";
   
@@ -356,8 +356,8 @@ void ParaMEDMEMTest::testAsynchronousIntersectionDEC_2D(double dtA, double tmaxA
   string tmp_dir                    = getenv("TMP");
   if (tmp_dir == "")
     tmp_dir = "/tmp";
-  string filename_xml1              = data_dir + "/share/salome/resources/MedFiles/square1_split";
-  string filename_xml2              = data_dir + "/share/salome/resources/MedFiles/square2_split"; 
+  string filename_xml1              = data_dir + "/share/salome/resources/med/square1_split";
+  string filename_xml2              = data_dir + "/share/salome/resources/med/square2_split"; 
   string filename_seq_wr            = tmp_dir + "/";
   string filename_seq_med           = tmp_dir + "/myWrField_seq_pointe221.med";
   
index 7faa9b9c8936ee007f3899cc4bf6ea3cc6999c4f..f2fc9ddde910c1f0a33771a4c9c9946c0da48186 100644 (file)
@@ -65,9 +65,9 @@ void ParaMEDMEMTest::testNonCoincidentDEC_2D()
  //the test is meant to run on five processors
   if (size !=5) return ;
   
-  testNonCoincidentDEC( "/share/salome/resources/MedFiles/square1_split",
+  testNonCoincidentDEC( "/share/salome/resources/med/square1_split",
                        "Mesh_2",
-                       "/share/salome/resources/MedFiles/square2_split",
+                       "/share/salome/resources/med/square2_split",
                        "Mesh_3",
                        3,
                        1e-6);
@@ -81,9 +81,9 @@ void ParaMEDMEMTest::testNonCoincidentDEC_3D()
   //the test is meant to run on five processors
   if (size !=4) return ;
   
-  testNonCoincidentDEC( "/share/salome/resources/MedFiles/blade_12000_split2",
+  testNonCoincidentDEC( "/share/salome/resources/med/blade_12000_split2",
                        "Mesh_1",
-                       "/share/salome/resources/MedFiles/blade_3000_split2",
+                       "/share/salome/resources/med/blade_3000_split2",
                        "Mesh_1",
                        2,
                        1e4);
@@ -130,7 +130,7 @@ void ParaMEDMEMTest::testNonCoincidentDEC(const string& filename1,
   ParaMEDMEM::ParaMESH* paramesh;
   ParaMEDMEM::ParaFIELD* parafield;
   
-  string data_dir                   = getenv("MED_ROOT_DIR");
+  string data_dir                   = getenv("MED_ROOT_DIR") + "/share/salome/resources/med/";
   string tmp_dir                    = getenv("TMP");
   if (tmp_dir == "")
     tmp_dir = "/tmp";
index edd94c8ec521c9f3b2a7c414799abe867d3a2885..bb676d56b8e794b315d344714569b3366bf8b5ef 100644 (file)
@@ -82,8 +82,8 @@ void ParaMEDMEMTest::testStructuredCoincidentDEC() {
        if (tmp_dir == "")
                tmp_dir = "/tmp";
        string filename_xml1 = data_dir
-                       + "/share/salome/resources/MedFiles/square1_split";
-       string filename_2 = data_dir + "/share/salome/resources/MedFiles/square1.med";
+                       + "/share/salome/resources/med/square1_split";
+       string filename_2 = data_dir + "/share/salome/resources/med/square1.med";
        string filename_seq_wr = tmp_dir + "/";
        string filename_seq_med = tmp_dir + "/myWrField_seq_pointe221.med";