]> SALOME platform Git repositories - tools/sat.git/blob - data/templates/Cpp_Template_med2/adm/unix/make_check.am
Salome HOME
add the template command
[tools/sat.git] / data / templates / Cpp_Template_med2 / 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