Salome HOME
passage du template c++ a salome9 et c++11
[tools/sat.git] / data / templates / CppSalome8 / adm / unix / make_check.am
1
2 python_cmd = env \
3         SELF_ROOT_DIR=$(prefix) \
4         REP_TESTS=$(prefix)/tests \
5         REP_MAIL=$(prefix)/tests/maillages \
6         PATH=$(bindir)/$(PACKAGE):$(PATH) \
7         PYTHONPATH=$(bindir)/$(PACKAGE):$(libdir)/$(PACKAGE):$(pythondir)/$(PACKAGE):$(PYTHONPATH) \
8         python
9
10 check-local:
11         for f in X $(scripts_SCRIPTS) ; do \
12           if test $f != X ; then \
13             ( cd $(scriptsdir) && $(python_cmd) $f ) || exit 1  ; \
14           fi ; \
15         done