From: mzn Date: Wed, 19 Oct 2005 13:59:16 +0000 (+0000) Subject: Movement of examples to CVS EXAMPLES SAMPLES_SRC. X-Git-Tag: ForTest2_3_1_0a2~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=20a9530b9b53f223823da82109070ceb1b8b9b6c;p=modules%2Fgui.git Movement of examples to CVS EXAMPLES SAMPLES_SRC. --- diff --git a/src/SALOME_SWIG/salome_test.py b/src/SALOME_SWIG/salome_test.py index a1e63a6cc..c1a6d562b 100755 --- a/src/SALOME_SWIG/salome_test.py +++ b/src/SALOME_SWIG/salome_test.py @@ -272,10 +272,10 @@ def addStudy(ior): anIOR.SetValue(dataflow.getIOR()) import os -dir= os.getenv("SUPERV_ROOT_DIR") +dir= os.getenv("DATA_DIR") if dir == None: - raise RuntimeError, "SUPERV_ROOT_DIR is not defined" -xmlfile = dir +"/examples/GraphGeomEssai.xml" + raise RuntimeError, "DATA_DIR is not defined" +xmlfile = dir +"/Graphs/GraphGeomEssai.xml" print "Load dataflow from the file : " print xmlfile print @@ -432,7 +432,7 @@ import VISU import visu_gui medFileName = "pointe.med" -medFile = os.getenv('KERNEL_ROOT_DIR') + '/examples/' + medFileName +medFile = os.getenv('DATA_DIR') + '/MedFiles/' + medFileName print "Load ", medFile studyCurrent = salome.myStudyName