# Directory for installing resource files
salomeresdir = $(prefix)/share/salome/resources/${MODULE_NAME}
+# Directory for installing tests files
+testsdir = $(prefix)/tests
+
# Directories for installing admin files
admlocaldir = $(prefix)/adm_local
admlocalunixdir = $(admlocaldir)/unix
src/daSalome/daGUI/daGuiImpl/Makefile
src/daSalome/daGUI/daEficasWrapper/Makefile
src/daSalome/daGUI/daEficasWrapper/eficasWrapper.py
+ src/tests/Makefile
+ src/tests/daSalome/Makefile
+ src/tests/daSalome/test000_Blue_AnalysisFile.py
bin/Makefile
bin/qtEficas_adao_study.py
])
-SUBDIRS = daComposant daSalome daEficas
+SUBDIRS = daComposant daSalome daEficas tests
--- /dev/null
+# -*- coding: utf-8 -*-
+import os, sys
+
+print "import des prefs de Datassim"
+
+# Configuration de Eficas
+# INSTALLDIR, REPINI est obligatoire
+INSTALLDIR = "@EFICAS_DIR@"
+sys.path[:0]=[INSTALLDIR]
+# positionnee a repin au debut mise a jour dans configuration
+REPINI=os.path.dirname(os.path.abspath(__file__))
+
+# initialdir sert comme directory initial des QFileDialog
+initialdir=os.environ["PWD"]
+# Codage des strings qui accepte les accents (en remplacement de 'ascii')
+encoding='iso-8859-1'
+# lang indique la langue utilisée pour les chaines d'aide : fr ou ang
+lang='fr'
+
+
+# INSTALLDIR sert � localiser l'installation d'Eficas
+#INSTALLDIR=os.path.join(REPINI,'..')
+
+
+
+# Acces a la documentation
+#rep_cata = INSTALLDIR
+#path_doc = os.path.join(rep_cata,'Doc')
+#exec_acrobat = "/usr/bin/xpdf"
+#savedir = os.environ['HOME']
+
+
+# OpenTURNS Python module
+#OpenTURNS_path="/local00/home/dutka/OpenTURNS/trunk-cmake/build-autotools/install/lib/python2.4/site-packages"
+# Choix des catalogues
+#sys.path[:0]=[INSTALLDIR, OpenTURNS_path]
+
+++ /dev/null
-# -*- coding: utf-8 -*-
-import os, sys
-
-print "import des prefs de Datassim"
-
-# Configuration de Eficas
-# INSTALLDIR, REPINI est obligatoire
-INSTALLDIR = "@EFICAS_DIR@"
-sys.path[:0]=[INSTALLDIR]
-# positionnee a repin au debut mise a jour dans configuration
-REPINI=os.path.dirname(os.path.abspath(__file__))
-
-# initialdir sert comme directory initial des QFileDialog
-initialdir=os.environ["PWD"]
-# Codage des strings qui accepte les accents (en remplacement de 'ascii')
-encoding='iso-8859-1'
-# lang indique la langue utilisée pour les chaines d'aide : fr ou ang
-lang='fr'
-
-
-# INSTALLDIR sert � localiser l'installation d'Eficas
-#INSTALLDIR=os.path.join(REPINI,'..')
-
-
-
-# Acces a la documentation
-#rep_cata = INSTALLDIR
-#path_doc = os.path.join(rep_cata,'Doc')
-#exec_acrobat = "/usr/bin/xpdf"
-#savedir = os.environ['HOME']
-
-
-# OpenTURNS Python module
-#OpenTURNS_path="/local00/home/dutka/OpenTURNS/trunk-cmake/build-autotools/install/lib/python2.4/site-packages"
-# Choix des catalogues
-#sys.path[:0]=[INSTALLDIR, OpenTURNS_path]
-
--- /dev/null
+SUBDIRS = daSalome
+
--- /dev/null
+include $(top_srcdir)/adm_local/make_common_starter.am
+
+DATA_INST = \
+ test000_Blue_AnalysisCode.py test000_Blue_AnalysisFile.py test000_Blue.py
+
+tests_DATA = ${DATA_INST}
+EXTRA_DIST = test000_Blue_AnalysisCode.py test000_Blue_AnalysisFile.py.in test000_Blue.py
+
+++ /dev/null
-#-*-coding:iso-8859-1-*-
-study_config = {}
-study_config["Name"] = "test000_Blue"
-study_config["Algorithm"] = "Blue"
-
-Background_config = {}
-Background_config["Data"] = "0,1,2"
-Background_config["Type"] = "Vector"
-Background_config["From"] = "String"
-study_config["Background"] = Background_config
-
-BackgroundError_config = {}
-BackgroundError_config["Data"] = "1 0 0;0 1 0;0 0 1"
-BackgroundError_config["Type"] = "Matrix"
-BackgroundError_config["From"] = "String"
-study_config["BackgroundError"] = BackgroundError_config
-
-Observation_config = {}
-Observation_config["Data"] = "0.5,1.5,2.5"
-Observation_config["Type"] = "Vector"
-Observation_config["From"] = "String"
-study_config["Observation"] = Observation_config
-
-ObservationError_config = {}
-ObservationError_config["Data"] = "1 0 0;0 1 0;0 0 1"
-ObservationError_config["Type"] = "Matrix"
-ObservationError_config["From"] = "String"
-study_config["ObservationError"] = ObservationError_config
-
-ObservationOperator_config = {}
-ObservationOperator_config["Data"] = "1 0 0;0 1 0;0 0 1"
-ObservationOperator_config["Type"] = "Matrix"
-ObservationOperator_config["From"] = "String"
-study_config["ObservationOperator"] = ObservationOperator_config
-
-Analysis_config = {}
-Analysis_config["Data"] = "/home/aribes/Projets/DATASSIM_SRC/src/tests/daSalome/test000_Blue_AnalysisCode.py"
-Analysis_config["From"] = "File"
-study_config["Analysis"] = Analysis_config
-
--- /dev/null
+#-*-coding:iso-8859-1-*-
+study_config = {}
+study_config["Name"] = "test000_Blue"
+study_config["Algorithm"] = "Blue"
+
+Background_config = {}
+Background_config["Data"] = "0,1,2"
+Background_config["Type"] = "Vector"
+Background_config["From"] = "String"
+study_config["Background"] = Background_config
+
+BackgroundError_config = {}
+BackgroundError_config["Data"] = "1 0 0;0 1 0;0 0 1"
+BackgroundError_config["Type"] = "Matrix"
+BackgroundError_config["From"] = "String"
+study_config["BackgroundError"] = BackgroundError_config
+
+Observation_config = {}
+Observation_config["Data"] = "0.5,1.5,2.5"
+Observation_config["Type"] = "Vector"
+Observation_config["From"] = "String"
+study_config["Observation"] = Observation_config
+
+ObservationError_config = {}
+ObservationError_config["Data"] = "1 0 0;0 1 0;0 0 1"
+ObservationError_config["Type"] = "Matrix"
+ObservationError_config["From"] = "String"
+study_config["ObservationError"] = ObservationError_config
+
+ObservationOperator_config = {}
+ObservationOperator_config["Data"] = "1 0 0;0 1 0;0 0 1"
+ObservationOperator_config["Type"] = "Matrix"
+ObservationOperator_config["From"] = "String"
+study_config["ObservationOperator"] = ObservationOperator_config
+
+Analysis_config = {}
+Analysis_config["Data"] = "@prefix@/tests/daSalome/test000_Blue_AnalysisCode.py"
+Analysis_config["From"] = "File"
+study_config["Analysis"] = Analysis_config
+