Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-#if OCC_VERSION_LARGE > 0x06010000
[modules/smesh.git]
/
doc
/
salome
/
examples
/
Makefile.am
diff --git
a/doc/salome/examples/Makefile.am
b/doc/salome/examples/Makefile.am
index 6a5904b9155d40ae7726f8ae10e1f5095ef003c6..1846b16a27d5d5cc847a26ebe67ce9d66299b390 100644
(file)
--- a/
doc/salome/examples/Makefile.am
+++ b/
doc/salome/examples/Makefile.am
@@
-1,4
+1,4
@@
-# Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-201
3
CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-110,6
+110,7
@@
GOOD_TESTS = \
grouping_elements_ex08.py \
measurements_ex01.py \
measurements_ex02.py \
grouping_elements_ex08.py \
measurements_ex01.py \
measurements_ex02.py \
+ measurements_ex03.py \
modifying_meshes_ex01.py \
modifying_meshes_ex02.py \
modifying_meshes_ex03.py \
modifying_meshes_ex01.py \
modifying_meshes_ex02.py \
modifying_meshes_ex03.py \
@@
-174,7
+175,10
@@
pyexamples_SCRIPTS = $(BAD_TESTS) $(GOOD_TESTS)
EXTRA_DIST += $(pyexamples_SCRIPTS) testme.py
EXTRA_DIST += $(pyexamples_SCRIPTS) testme.py
+THIS_PYTHONPATH = $(KERNEL_ROOT_DIR)/bin/salome:$(KERNEL_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(KERNEL_ROOT_DIR)/lib64/python$(PYTHON_VERSION)/site-packages/salome
+THIS_LD_LIBRARY_PATH = $(KERNEL_ROOT_DIR)/lib/salome
+
installcheck-local:
@for f in $(GOOD_TESTS) ; do \
installcheck-local:
@for f in $(GOOD_TESTS) ; do \
-
env SMESH_ROOT_DIR=$(prefix)
python -B $(top_srcdir)/doc/salome/examples/testme.py $(top_srcdir)/doc/salome/examples/$$f || exit 1; \
+
SMESH_ROOT_DIR=$(prefix) PYTHONPATH=$(THIS_PYTHONPATH):${PYTHONPATH} LD_LIBRARY_PATH=$(THIS_LD_LIBRARY_PATH):${LD_LIBRARY_PATH}
python -B $(top_srcdir)/doc/salome/examples/testme.py $(top_srcdir)/doc/salome/examples/$$f || exit 1; \
done
done