]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Merge from V6_main 06/03/2013
authorvsr <vsr@opencascade.com>
Wed, 6 Mar 2013 13:56:49 +0000 (13:56 +0000)
committervsr <vsr@opencascade.com>
Wed, 6 Mar 2013 13:56:49 +0000 (13:56 +0000)
doc/salome/examples/Makefile.am

index dc2264250f8c66ea8bcbc32691abade21c82c2d9..e7137ed7ef64234156709e1b1977299ab968b144 100644 (file)
@@ -135,7 +135,10 @@ pyexamples_SCRIPTS = $(BAD_TESTS) $(GOOD_TESTS)
 
 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 \
-         env GEOM_ROOT_DIR=$(prefix) python -B $(top_srcdir)/doc/salome/examples/testme.py $(top_srcdir)/doc/salome/examples/$$f || exit 1; \
+         GEOM_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